core/commands2: Added argument definition for 'ls'
Matt Bell committed
Nov 3, 2014 at 14:37 UTC
f1209d091294bca9f3868cce6997cc1a4c1f6b12
1 file changed
+3
core/commands2/ls.go
+3
@@ -21,6 +21,9 @@ type LsOutput struct {
21
}
22
23
var lsCmd = &cmds.Command{
24
+ Arguments: []cmds.Argument{
25
+ cmds.Argument{"object", cmds.ArgString, false, true},
26
+ },
27
Help: "TODO",
28
Run: func(res cmds.Response, req cmds.Request) {
29
node := req.Context().Node