docs(commands) help

This commit is contained in:
Brian Tiger Chow 2014-11-07 18:27:56 -08:00 committed by Juan Batiz-Benet
parent a631d745d0
commit 1c7ef8926d

View File

@ -13,7 +13,12 @@ type Command struct {
}
var commandsCmd = &cmds.Command{
Help: "TODO",
// TODO UsageLine: "commands",
// TODO Short: "List all available commands.",
Help: `ipfs commands - List all available commands.
Lists all available commands (and sub-commands) and exits.
`,
Run: func(res cmds.Response, req cmds.Request) {
root := outputCommand("ipfs", Root)
res.SetOutput(&root)