Skip to content

Commit

Permalink
enhancement(CLI): Use upper case in CLI description (#515)
Browse files Browse the repository at this point in the history
Enhancement(CLI): Use upper case in CLI description (#511)

Signed-off-by: Yunchuan Zheng <yczheng1997@gmail.com>
  • Loading branch information
wuvei committed Jun 27, 2022
1 parent d8f8db6 commit 8722564
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion pkg/app/bootstrap.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ import (

var CommandBootstrap = &cli.Command{
Name: "bootstrap",
Usage: "Bootstraps envd installation including shell autocompletion and buildkit image download",
Usage: "Bootstrap the envd installation including shell autocompletion and buildkit image download",
Flags: []cli.Flag{
&cli.BoolFlag{
Name: "buildkit",
Expand Down
2 changes: 1 addition & 1 deletion pkg/app/build.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ import (
var CommandBuild = &cli.Command{
Name: "build",
Aliases: []string{"b"},
Usage: "build envd environment",
Usage: "Build the envd environment",
Flags: []cli.Flag{
&cli.StringFlag{
Name: "tag",
Expand Down
2 changes: 1 addition & 1 deletion pkg/app/destroy.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ import (
var CommandDestroy = &cli.Command{
Name: "destroy",
Aliases: []string{"d"},
Usage: "destroys the envd environment",
Usage: "Destroy the envd environment",
Flags: []cli.Flag{
&cli.PathFlag{
Name: "path",
Expand Down
4 changes: 2 additions & 2 deletions pkg/app/pause.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@ import (
var CommandPause = &cli.Command{
Name: "pause",
Aliases: []string{"p"},
Usage: "pause the envd environment",
Usage: "Pause the envd environment",
Flags: []cli.Flag{
&cli.StringFlag{
Name: "env",
Usage: "environment name",
Usage: "Environment name",
Aliases: []string{"e"},
},
},
Expand Down
2 changes: 1 addition & 1 deletion pkg/app/prune.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import (

var CommandPrune = &cli.Command{
Name: "prune",
Usage: "Clean up build cache",
Usage: "Clean up the build cache",
Flags: []cli.Flag{
&cli.DurationFlag{
Name: "keep-duration",
Expand Down
4 changes: 2 additions & 2 deletions pkg/app/resume.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@ import (
var CommandResume = &cli.Command{
Name: "resume",
Aliases: []string{"r"},
Usage: "resume the envd environment",
Usage: "Resume the envd environment",
Flags: []cli.Flag{
&cli.StringFlag{
Name: "env",
Usage: "environment name",
Usage: "Environment name",
Aliases: []string{"e"},
},
},
Expand Down
6 changes: 3 additions & 3 deletions pkg/app/up.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ const (
var CommandUp = &cli.Command{
Name: "up",
Aliases: []string{"u"},
Usage: "build and run the envd environment",
Usage: "Build and run the envd environment",
Flags: []cli.Flag{
&cli.StringFlag{
Name: "tag",
Expand Down Expand Up @@ -87,12 +87,12 @@ var CommandUp = &cli.Command{
},
&cli.BoolFlag{
Name: "detach",
Usage: "detach from the container",
Usage: "Detach from the container",
Value: false,
},
&cli.BoolFlag{
Name: "no-gpu",
Usage: "launch the CPU container",
Usage: "Launch the CPU container",
Value: false,
},
},
Expand Down

0 comments on commit 8722564

Please sign in to comment.