mirror of
https://github.com/zeromicro/go-zero.git
synced 2025-02-02 16:28:39 +08:00
chore: add goctl command help (#1578)
This commit is contained in:
parent
8131a0e777
commit
66f10bb5e6
@ -4,6 +4,7 @@ const (
|
||||
BashCompletionFlag = `generate-goctl-completion`
|
||||
defaultCompletionFilename = "goctl_autocomplete"
|
||||
)
|
||||
|
||||
const (
|
||||
magic = 1 << iota
|
||||
flagZsh
|
||||
|
@ -49,11 +49,12 @@ var commands = []cli.Command{
|
||||
Action: upgrade.Upgrade,
|
||||
},
|
||||
{
|
||||
Name: "env",
|
||||
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…
Reference in New Issue
Block a user