main
Jeremy Saenz 11 years ago
parent e146bf9ba5
commit 84a2685b9c

@ -144,6 +144,7 @@ app.Action = func(c *cli.Context) {
Subcommands can be defined for a more git-like command line app. Subcommands can be defined for a more git-like command line app.
```go ```go
...
app.Commands = []cli.Command{ app.Commands = []cli.Command{
{ {
Name: "add", Name: "add",
@ -162,6 +163,7 @@ app.Commands = []cli.Command{
}, },
}, },
} }
...
``` ```
## About ## About

Loading…
Cancel
Save