1
0
mirror of https://github.com/ipfs/kubo.git synced 2025-05-22 01:17:11 +08:00

16 Commits

Author SHA1 Message Date
b10fc2cc50 turned req + res into interfaces 2014-10-20 11:49:07 -07:00
92528ba764 Sub -> Subcommand 2014-10-20 07:55:23 -07:00
84fa7bc46d AddOptionNames func 2014-10-20 07:53:55 -07:00
09d2277f0a f -> run, Function type. 2014-10-20 07:53:54 -07:00
7673ce6f65 fmt, lint, + vet commands/ 2014-10-20 07:53:14 -07:00
4f06c6fdba commands: Formatted code 2014-10-20 07:04:54 -07:00
d2176c05eb commands: Added Command#Get 2014-10-20 07:04:54 -07:00
4af61ad994 commands: Added Command#Resolve 2014-10-20 07:04:54 -07:00
c575b5087a commands: Added option value conversion, and moved option validation logic into Request#convertOptions 2014-10-20 07:04:53 -07:00
793a8de9c2 commands: Refactored to make Request contain command path 2014-10-20 07:04:53 -07:00
1b35615824 commands: Made Command#GetOption method, for getting all options for a given command path 2014-10-20 07:04:52 -07:00
43670971d8 commands: Formatted code 2014-10-20 07:04:52 -07:00
b2ee05a0be commands: Updated Command to use Response for output rather than (interface{}, error) 2014-10-20 07:04:50 -07:00
d7e9afc801 commands: Use global options when registering and calling commands 2014-10-20 07:04:50 -07:00
5b18844c06 commands: Check for option name collisions 2014-10-20 07:04:50 -07:00
dd2a10509f commands: Implemented Command 2014-10-20 07:04:49 -07:00