From 092524fcbb6e7cd5ecfefb9a0b208f7a6856e37d Mon Sep 17 00:00:00 2001 From: Matt Bell Date: Wed, 12 Nov 2014 16:55:21 -0800 Subject: [PATCH] cmd/ipfs2: Added a 'commands' command for CLI root --- cmd/ipfs2/ipfs.go | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/cmd/ipfs2/ipfs.go b/cmd/ipfs2/ipfs.go index 7e3b0e873..5e8dcff68 100644 --- a/cmd/ipfs2/ipfs.go +++ b/cmd/ipfs2/ipfs.go @@ -11,9 +11,10 @@ var Root = &cmds.Command{ } var rootSubcommands = map[string]*cmds.Command{ - "daemon": daemonCmd, // TODO name - "init": initCmd, // TODO name - "tour": cmdTour, + "daemon": daemonCmd, // TODO name + "init": initCmd, // TODO name + "tour": cmdTour, + "commands": commands.CommandsCmd(Root), } func init() {