update commands description
This commit is contained in:
parent
65fe3e24ff
commit
fa3f693572
8
main.go
8
main.go
|
@ -48,7 +48,7 @@ func main() {
|
||||||
Name: "start",
|
Name: "start",
|
||||||
Category: "config",
|
Category: "config",
|
||||||
Aliases: []string{"s"},
|
Aliases: []string{"s"},
|
||||||
Usage: "create the initial config file",
|
Usage: "Create the initial config",
|
||||||
Flags: []cli.Flag{
|
Flags: []cli.Flag{
|
||||||
&cli.StringFlag{Name: "name", Aliases: []string{"n"}, Value: "Sample App"},
|
&cli.StringFlag{Name: "name", Aliases: []string{"n"}, Value: "Sample App"},
|
||||||
&cli.StringFlag{Name: "main", Aliases: []string{"m"}, Value: "main.go"},
|
&cli.StringFlag{Name: "main", Aliases: []string{"m"}, Value: "main.go"},
|
||||||
|
@ -64,7 +64,7 @@ func main() {
|
||||||
Name: "add",
|
Name: "add",
|
||||||
Category: "config",
|
Category: "config",
|
||||||
Aliases: []string{"s"},
|
Aliases: []string{"s"},
|
||||||
Usage: "add another project in config file",
|
Usage: "Add another project",
|
||||||
Flags: []cli.Flag{
|
Flags: []cli.Flag{
|
||||||
&cli.StringFlag{Name: "name", Aliases: []string{"n"}, Value: "Sample App"},
|
&cli.StringFlag{Name: "name", Aliases: []string{"n"}, Value: "Sample App"},
|
||||||
&cli.StringFlag{Name: "main", Aliases: []string{"m"}, Value: "main.go"},
|
&cli.StringFlag{Name: "main", Aliases: []string{"m"}, Value: "main.go"},
|
||||||
|
@ -80,7 +80,7 @@ func main() {
|
||||||
Name: "remove",
|
Name: "remove",
|
||||||
Category: "config",
|
Category: "config",
|
||||||
Aliases: []string{"s"},
|
Aliases: []string{"s"},
|
||||||
Usage: "remove a project in config file",
|
Usage: "Remove a project",
|
||||||
Flags: []cli.Flag{
|
Flags: []cli.Flag{
|
||||||
&cli.StringFlag{Name: "name", Aliases: []string{"n"}, Value: "Sample App"},
|
&cli.StringFlag{Name: "name", Aliases: []string{"n"}, Value: "Sample App"},
|
||||||
},
|
},
|
||||||
|
@ -93,7 +93,7 @@ func main() {
|
||||||
Name: "list",
|
Name: "list",
|
||||||
Category: "config",
|
Category: "config",
|
||||||
Aliases: []string{"s"},
|
Aliases: []string{"s"},
|
||||||
Usage: "projects list",
|
Usage: "Projects list",
|
||||||
Action: func(params *cli.Context) error {
|
Action: func(params *cli.Context) error {
|
||||||
y := realize.New(params)
|
y := realize.New(params)
|
||||||
return handle(y.List())
|
return handle(y.List())
|
||||||
|
|
Loading…
Reference in New Issue