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

core/commands2: Added argument definition for 'ls'

parent ff987cff
......@@ -21,6 +21,9 @@ type LsOutput struct {
}
var lsCmd = &cmds.Command{
Arguments: []cmds.Argument{
cmds.Argument{"object", cmds.ArgString, false, true},
},
Help: "TODO",
Run: func(res cmds.Response, req cmds.Request) {
node := req.Context().Node
......
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