chore: add goctl command help (#1578)

master
Kevin Wan 3 years ago committed by GitHub
parent 8131a0e777
commit 66f10bb5e6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -4,6 +4,7 @@ const (
BashCompletionFlag = `generate-goctl-completion`
defaultCompletionFilename = "goctl_autocomplete"
)
const (
magic = 1 << iota
flagZsh

@ -50,10 +50,11 @@ var commands = []cli.Command{
},
{
Name: "env",
Usage: "check or edit goctl environment",
Flags: []cli.Flag{
cli.StringSliceFlag{
Name: "write, w",
Usage: "edit goctl env",
Usage: "edit goctl environment",
},
},
Subcommands: []cli.Command{

Loading…
Cancel
Save