mirror of
https://github.com/ipfs/kubo.git
synced 2026-02-26 04:47:45 +08:00
core/commands: Added a 'args' command to test argument parsing
This commit is contained in:
parent
4bbd579068
commit
e297e2da41
@ -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())
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user