Skip to content

Commit 8fef499

Browse files
committed
feature: correct command description spelling to common standards
1 parent 9f4d05e commit 8fef499

File tree

5 files changed

+16
-16
lines changed

5 files changed

+16
-16
lines changed

internal/cmd/beta/security-group/create/create.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,12 @@ type inputModel struct {
3636
func NewCmd(p *print.Printer) *cobra.Command {
3737
cmd := &cobra.Command{
3838
Use: "create",
39-
Short: "Create security groups",
40-
Long: "Create security groups.",
39+
Short: "Creates security groups",
40+
Long: "Creates security groups.",
4141
Args: args.NoArgs,
4242
Example: examples.Build(
43-
examples.NewExample(`create a named group`, `$ stackit beta security-group create --name my-new-group`),
44-
examples.NewExample(`create a named group with labels`, `$ stackit beta security-group create --name my-new-group --labels label1=value1,label2=value2`),
43+
examples.NewExample(`Create a named group`, `$ stackit beta security-group create --name my-new-group`),
44+
examples.NewExample(`Create a named group with labels`, `$ stackit beta security-group create --name my-new-group --labels label1=value1,label2=value2`),
4545
),
4646
RunE: func(cmd *cobra.Command, _ []string) error {
4747
ctx := context.Background()

internal/cmd/beta/security-group/delete/delete.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,11 @@ const argNameGroupId = "GROUP_ID"
2727
func NewCmd(p *print.Printer) *cobra.Command {
2828
cmd := &cobra.Command{
2929
Use: "delete",
30-
Short: "Delete a security group",
31-
Long: "Delete a security group by its internal id.",
30+
Short: "Deletes a security group",
31+
Long: "Deletes a security group by its internal id.",
3232
Args: args.SingleArg(argNameGroupId, utils.ValidateUUID),
3333
Example: examples.Build(
34-
examples.NewExample(`delete a named group`, `$ stackit beta security-group delete 43ad419a-c68b-4911-87cd-e05752ac1e31`),
34+
examples.NewExample(`Delete a named group`, `$ stackit beta security-group delete 43ad419a-c68b-4911-87cd-e05752ac1e31`),
3535
),
3636
RunE: func(cmd *cobra.Command, args []string) error {
3737
ctx := context.Background()

internal/cmd/beta/security-group/describe/describe.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,11 @@ const argNameGroupId = "GROUP_ID"
2929
func NewCmd(p *print.Printer) *cobra.Command {
3030
cmd := &cobra.Command{
3131
Use: "describe",
32-
Short: "Describe security groups",
33-
Long: "Describe security groups.",
32+
Short: "Describes security groups",
33+
Long: "Describes security groups.",
3434
Args: args.SingleArg(argNameGroupId, utils.ValidateUUID),
3535
Example: examples.Build(
36-
examples.NewExample(`describe an existing group`, `$ stackit beta security-group describe 9e9c44fe-eb9a-4d45-bf08-365e961845d1`),
36+
examples.NewExample(`Describe an existing group`, `$ stackit beta security-group describe 9e9c44fe-eb9a-4d45-bf08-365e961845d1`),
3737
),
3838
RunE: func(cmd *cobra.Command, args []string) error {
3939
ctx := context.Background()

internal/cmd/beta/security-group/list/list.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,12 @@ const (
3232
func NewCmd(p *print.Printer) *cobra.Command {
3333
cmd := &cobra.Command{
3434
Use: "list",
35-
Short: "List security groups",
36-
Long: "List security groups.",
35+
Short: "Lists security groups",
36+
Long: "Lists security groups.",
3737
Args: args.NoArgs,
3838
Example: examples.Build(
39-
examples.NewExample(`list all groups`, `$ stackit beta security-group list`),
40-
examples.NewExample(`list groups with labels`, `$ stackit beta security-group list --labels label1=value1,label2=value2`),
39+
examples.NewExample(`List all groups`, `$ stackit beta security-group list`),
40+
examples.NewExample(`List groups with labels`, `$ stackit beta security-group list --labels label1=value1,label2=value2`),
4141
),
4242
RunE: func(cmd *cobra.Command, _ []string) error {
4343
ctx := context.Background()

internal/cmd/beta/security-group/update/update.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ const argNameGroupId = "GROUP_ID"
3131
func NewCmd(p *print.Printer) *cobra.Command {
3232
cmd := &cobra.Command{
3333
Use: "update",
34-
Short: "Update a security group",
35-
Long: "Update a named security group",
34+
Short: "Updates a security group",
35+
Long: "Updates a named security group",
3636
Args: args.SingleArg(argNameGroupId, utils.ValidateUUID),
3737
Example: examples.Build(
3838
examples.NewExample(`Update the name of a group`, `$ stackit beta security-group update 541d122f-0a5f-4bb0-94b9-b1ccbd7ba776 --name my-new-name`),

0 commit comments

Comments
 (0)