@cryptotaxi247 / kubo / commits / 77fea8928

Added argument definition to 'cat' command

Matt Bell committed Nov 2, 2014 at 18:50 UTC 77fea8928aa731c7d2dac391ab531008c90a15b9
1 file changed +3
core/commands2/cat.go
+3
@@ -8,6 +8,9 @@ import (
8 )
9
10 var catCmd = &cmds.Command{
11 + Arguments: []cmds.Argument{
12 + cmds.Argument{"object", cmds.ArgString, false, true},
13 + },
14 Help: "TODO",
15 Run: func(res cmds.Response, req cmds.Request) {
16 node := req.Context().Node