Commit e297e2da authored by Matt Bell's avatar Matt Bell Committed by Juan Batiz-Benet

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

parent 4bbd5790
......@@ -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())
},
},
},
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment