a6d0fd287b
Fix commands --flags not showing flags via HTTP API
...
It was caused by the cmds.Option struct being Interface not struct
The solution is to create struct and copy interesting data over.
Also removed the "ShowOptions" field from being sent via the HTTP API.
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-05-31 16:55:37 +02:00
7fee408b6b
Added Default to commands
cmd
...
Part of #2484
License: MIT
Signed-off-by: Richard Littauer <richard.littauer@gmail.com>
2016-05-11 16:03:35 -04:00
aaa6569f2c
trivial: various superficial fixes
...
misc/completion/ipfs-completion.bash: add `ipfs stats` to BASH completion
core/commands/mount_unix.go: ensure error is not nil before printing it
contribute.md: fix bibliography indexing in example
core/commands/swarm.go: change tabs to spaces in USAGE message
*: 80-column readability improvements
License: MIT
Signed-off-by: Thomas Gardner <tmg@fastmail.com>
2016-02-03 15:46:28 +10:00
1bb6a63b11
ipfs commands --flags
: display short & long flag
...
License: MIT
Signed-off-by: rht <rhtbot@gmail.com>
2015-10-17 16:45:13 +07:00
3e2016d987
commands: add --flags to show all flags
...
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2015-10-17 09:11:22 +02:00
4da824c954
Show flags in ipfs commands
...
License: MIT
Signed-off-by: rht <rhtbot@gmail.com>
2015-10-17 08:57:02 +07:00
3547f7ae33
Replace 'var * bytes.Buffer' with '\1 := new(bytes.Buffer)'
2015-05-26 23:18:04 +07:00
95ccdca9ec
core/commands/commands: Add a package comment
2015-05-02 08:21:47 -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
7b4de230eb
commands: Refactored Command#Run function signature to (req Request, res Response)
2015-01-23 18:29:29 -08:00
6236ef7fdb
core/commands: Made add command output a channel
...
core/commands: Don't use pointers for Type field
2015-01-06 15:55:16 -08:00
fd40702f73
commands: Changed Marshaler to return a io.Reader instead of a []byte
...
core/commands: Refactored command marshalers
2015-01-06 15:53:42 -08:00
5aaa45db9a
transitioned ipfs2 -> ipfs
2014-11-18 06:15:00 -08:00
ad3f3e003f
removed old commands files
...
https://www.youtube.com/watch?v=kyFyAqLtHq8
2014-11-18 06:15:00 -08:00
0c8ae7674e
loggers: set level
2014-10-04 03:53:21 -07:00
7e1cd59259
initialize loggers at ERROR
2014-10-04 03:36:30 -07:00
b5fd9492d7
fixes to make interface more usable
2014-10-01 00:25:52 -07:00
727b6bf9a3
udpated commands and RPC dialing to work with new configuration changes
2014-09-27 16:02:50 -07:00