@cryptotaxi247 / kubo / commits / 1c7ef8926

docs(commands) help

Brian Tiger Chow committed Nov 7, 2014 at 18:27 UTC 1c7ef8926dbe6a7cdc3b5ca7ba25b91cb913cfa7
1 file changed +6 -1
core/commands2/commands.go
+6 -1
@@ -13,7 +13,12 @@ type Command struct {
13 }
14
15 var commandsCmd = &cmds.Command{
16 - Help: "TODO",
16 + // TODO UsageLine: "commands",
17 + // TODO Short: "List all available commands.",
18 + Help: `ipfs commands - List all available commands.
19 +
20 + Lists all available commands (and sub-commands) and exits.
21 + `,
22 Run: func(res cmds.Response, req cmds.Request) {
23 root := outputCommand("ipfs", Root)
24 res.SetOutput(&root)