Juan Batiz-Benet
705465db8b
main + daemon signal handlers
...
This commit changes the signal handler to be added once
the command is executing. this is because the daemon
has its own signal handler, that must try to shut down
the node gracefully first. You know, just in case.
2014-11-16 02:22:43 -08:00
Juan Batiz-Benet
7806973e67
vendor manners
2014-11-15 22:21:52 -08:00
Juan Batiz-Benet
8cf765af33
daemon: listen for term signals
2014-11-15 22:11:11 -08:00
Matt Bell
815efdb125
daemon: Added a ShortDescription
2014-11-14 03:20:06 -08:00
Matt Bell
e700b16576
Ported remaining command helptext to HelpText struct
2014-11-14 03:20:05 -08:00
Juan Batiz-Benet
d18902df27
cmds2: changed how the ctx.Node works
2014-11-14 03:20:02 -08:00
Matt Bell
3e30093c2b
core/commands2: Updated commands to new Run function API
2014-11-14 03:17:37 -08:00
Matt Bell
897e0f869f
cmds/ipfs2: Added '/ipfs' HTTP handling
2014-11-14 03:17:35 -08:00
Brian Tiger Chow
c65b01c55c
fix(add) cast safely
2014-11-14 03:17:30 -08:00
Brian Tiger Chow
fee3b0dd31
+2 characters for readability
2014-11-14 03:17:24 -08:00
Brian Tiger Chow
c67e377162
docs(ipfs2/daemon) add some copy
...
can replace if desired, but at least it's not an end-user TODO
2014-11-14 03:17:24 -08:00
Matt Bell
7d4d55a84d
commands/http: Unexported Handler fields and created constructor
2014-11-14 03:17:23 -08:00
Matt Bell
cac8844b8d
cmd/ipfs: Reverted back to secondary CLI root command
2014-11-14 03:17:21 -08:00
Matt Bell
9356e1a0a1
cmd/ipfs: Moved private commands to core/commands2
2014-11-14 03:17:21 -08:00
Matt Bell
e01f1ba8a1
cmd/ipfs2: daemon command: Handle lock before initializing node
2014-11-14 03:17:20 -08:00
Matt Bell
decda21889
cmd/ipfs2: Changed command variable naming convention
2014-11-14 03:17:20 -08:00
Brian Tiger Chow
b3e7cbb9a5
refactor(commands) swap argument order to match Http(w, r) idiom
2014-11-14 03:17:20 -08:00
Brian Tiger Chow
026c30fa71
fix(cmd/ipfs2/daemon) imports
2014-11-14 03:16:06 -08:00
Brian Tiger Chow
510a4a9093
move new commands to new place
2014-11-14 03:16:05 -08:00