core/commands: Added a 'args' command to test argument parsing

This commit is contained in:
Matt Bell 2014-10-28 17:24:22 -07:00 committed by Juan Batiz-Benet
parent 4bbd579068
commit e297e2da41

View File

@ -74,5 +74,10 @@ Use "ipfs help <command>" for more information about a command.
}
},
},
"args": &cmds.Command{
Run: func(req cmds.Request, res cmds.Response) {
res.SetValue(req.Arguments())
},
},
},
}