core/commands: Added a 'args' command to test argument parsing
Matt Bell committed
Oct 28, 2014 at 17:24 UTC
e297e2da419fd74d69b9c815313fb9a499efed24
1 file changed
+5
core/commands/root.go
+5
@@ -74,5 +74,10 @@ Use "ipfs help <command>" for more information about a command.
74
}
75
},
76
},
77
+ "args": &cmds.Command{
78
+ Run: func(req cmds.Request, res cmds.Response) {
79
+ res.SetValue(req.Arguments())
80
+ },
81
+ },
82
},
83
}