1f9ec4e3ed
update to libp2p 4.0.1 and propogate other changes
...
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-10-05 22:12:43 -07:00
7e5393c4db
commands: replace <default> keyword with <<default>>
...
This way if we use <default> in description (we use thigns like <hash>
already), it won't conflict and modify the description in unwanted way.
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-08-26 18:20:17 +02:00
f144a84247
Add default to recursive option
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-06-28 19:51:56 +02:00
70342314ae
Allow to specify where to put default options in option desciption
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-05-19 18:54:37 +02:00
767ee13ea2
add default option value support to commands lib
...
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2016-03-04 10:58:27 -08:00
d7dab3afea
Use gx vendored go-ipfs-utils where possible
...
For the rest of the packages in util, move them to thirdparty
and update the references. util is gone!
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2016-02-12 17:21:40 -08:00
c091cf5abe
Fix cli flag orders (long, short)
...
License: MIT
Signed-off-by: rht <rhtbot@gmail.com>
2015-10-19 12:53:23 +07:00
6083007987
add a global timeout flag for to be setting timeouts
...
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2015-07-20 12:53:37 -07:00
bf22aeec0a
Reorged imports from jbenet/go-ipfs to ipfs/go-ipfs
...
- Modified Godeps/Godeps.json by hand
- [TEST] Updated welcome docs hash to sharness
- [TEST] Updated contact doc
- [TEST] disabled breaking test (t0080-repo refs local)
2015-03-31 12:52:25 -07:00
981f793df9
commands: Use a flag to enable streaming channel output
2015-01-06 15:53:48 -08:00
aa84f69231
commands: Added a 'Definition()' method to OptionValue to get a reference to the option definiton
2014-11-19 00:26:02 -08:00
bbf3a1f4d4
commands: Changed Option to an interface
2014-11-19 00:24:55 -08:00
277ba26120
commands: Gave global options exported names
2014-11-19 00:01:03 -08:00
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