1
0
mirror of https://github.com/ipfs/kubo.git synced 2025-08-06 19:44:01 +08:00

15 Commits

Author SHA1 Message Date
ae33905ccd commands: Added global -r/--recursive flag 2014-11-18 02:13:54 -08:00
192377a852 fix(commands/optionvalue) use the util.ErrCast() 2014-11-14 03:19:59 -08:00
bff646fb26 fix(commands/optionvalue) don't shadow the return variable
NB: return variables are provided for clarity. Otherwise, it's not
entirely clear that the bool is for _found_.
2014-11-14 03:19:57 -08:00
69374b30be refactor(commands/optionvalue) use
@mappum this optionvalue is a really great abstraction. It makes
maintenance super simple!

@jbenet @whyrusleeping
2014-11-14 03:19:57 -08:00
9f801561fd feat(commands) add cast error 2014-11-14 03:19:57 -08:00
94e8218be8 add todo 2014-11-14 03:17:42 -08:00
3e507f7c9f commands: Changed option accessor API (Request#Option now returns an OptionValue) 2014-11-14 03:17:38 -08:00
38b31c65f8 commands: Added Option helper constructors 2014-11-14 03:17:37 -08:00
351ed9589a commands: Added 'Description' fields to Command, Argument, Option 2014-11-14 03:17:33 -08:00
bbef82f4fa "enc" -> EncShort 2014-10-20 08:00:28 -07:00
7673ce6f65 fmt, lint, + vet commands/ 2014-10-20 07:53:14 -07:00
c575b5087a commands: Added option value conversion, and moved option validation logic into Request#convertOptions 2014-10-20 07:04:53 -07:00
43670971d8 commands: Formatted code 2014-10-20 07:04:52 -07:00
47ebf174f4 commands: Created a list of global options (for options owned by commands package) 2014-10-20 07:04:50 -07:00
30ea427b7b commands: Created Option struct 2014-10-20 07:04:49 -07:00