Skip to content

Commit ad478c5

Browse files
committed
Add consistency to commands help text
1 parent d0dd0a0 commit ad478c5

File tree

4 files changed

+7
-5
lines changed

4 files changed

+7
-5
lines changed

internal/cmd/aws.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,9 @@ Once started, you could stop it at any time, to save costs, using the command:
5050
5151
If you don't plan to use this development environment again, you could remove it using the command:
5252
53-
recode aws remove <repository>`,
53+
recode aws remove <repository>
54+
55+
<repository> may be relative to your personal GitHub account (eg: cli) or fully qualified (eg: my-organization/api). `,
5456

5557
Example: ` recode aws start recode-sh/api --instance-type m4.large
5658
recode aws stop recode-sh/api

internal/cmd/aws_remove.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,13 +34,13 @@ var awsRemoveForceDevEnvRemove bool
3434

3535
// awsRemoveCmd represents the aws remove command
3636
var awsRemoveCmd = &cobra.Command{
37-
Use: "remove (<repository_name>|<account_name/repository_name>)",
37+
Use: "remove <repository>",
3838

3939
Short: "Remove a development environment",
4040

4141
Long: `Remove an existing development environment.
4242
43-
The development environment will be PERMANENTLY removed along with all its data.
43+
The development environment will be PERMANENTLY removed along with ALL your data.
4444
4545
There is no going back, so please be sure to save your work before running this command.`,
4646

internal/cmd/aws_start.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ var awsStartForceDevEnvRebuild bool
3636

3737
// awsStartCmd represents the aws start command
3838
var awsStartCmd = &cobra.Command{
39-
Use: "start (<repository_name>|<account_name/repository_name>)",
39+
Use: "start <repository>",
4040

4141
Short: "Start a development environment",
4242

internal/cmd/aws_stop.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ import (
3131

3232
// awsStopCmd represents the aws stop command
3333
var awsStopCmd = &cobra.Command{
34-
Use: "stop (<repository_name>|<account_name/repository_name>)",
34+
Use: "stop <repository>",
3535

3636
Short: "Stop a development environment",
3737

0 commit comments

Comments
 (0)