Commit Graph

1393 Commits

Author SHA1 Message Date
Matt Bell
f95476c19a commands: Allow overriding marshaller for any encoding type 2014-11-14 03:17:24 -08:00
Matt Bell
0afd3391a8 commands: Replaced 'Formatter' with 'Marshaller' 2014-11-14 03:17:23 -08:00
Matt Bell
3dd7a9a5c8 cmd/ipfs2: Broke up main into subfunctions 2014-11-14 03:17:23 -08:00
Matt Bell
7c1e45786a cmd/ipfs2: Stricter option type coercion in main 2014-11-14 03:17:23 -08:00
Matt Bell
7d4d55a84d commands/http: Unexported Handler fields and created constructor 2014-11-14 03:17:23 -08:00
Matt Bell
39a60e7f1d commands: Return a reader in a Response#Reader method, instead of making Response implementing io.Reader 2014-11-14 03:17:23 -08:00
Matt Bell
15cd24a6d1 commands: Renamed Response#Value to Response#Output 2014-11-14 03:17:23 -08:00
Matt Bell
f1209d0912 core/commands2: Added argument definition for 'ls' 2014-11-14 03:17:23 -08:00
Matt Bell
ff987cffae core/commands2: Added 'log' command 2014-11-14 03:17:23 -08:00
Matt Bell
3c4e7bf9a1 core/commands2: Added a simple 'message' output/formatter 2014-11-14 03:17:23 -08:00
Matt Bell
92e308f32b core/commands2: Added logging 2014-11-14 03:17:22 -08:00
Matt Bell
38318a6c28 core/commands2: Added output for 'add' command 2014-11-14 03:17:22 -08:00
Matt Bell
77fea8928a Added argument definition to 'cat' command 2014-11-14 03:17:22 -08:00
Matt Bell
b420ba1e49 core/commands2: Added preliminary 'add' command 2014-11-14 03:17:22 -08:00
Matt Bell
6bab1f47fb commands: Removed inpout stream from Request 2014-11-14 03:17:22 -08:00
Matt Bell
26c2164c35 core/commands2: Removed 'echo' test command 2014-11-14 03:17:22 -08:00
Matt Bell
2915007c4f commands: Changed Request arguments to a []interface{} 2014-11-14 03:17:22 -08:00
Matt Bell
c70ca4dd51 core/commands2: Added 'publish' command 2014-11-14 03:17:22 -08:00
Matt Bell
d8afd9a9bb cmd/ipfs: Show usage text if input fails to parse 2014-11-14 03:17:21 -08:00
Matt Bell
cac8844b8d cmd/ipfs: Reverted back to secondary CLI root command 2014-11-14 03:17:21 -08:00
Matt Bell
24814a411f core/commands2: Set root subcommands in init to prevent initialization loops 2014-11-14 03:17:21 -08:00
Matt Bell
6ae09b167d core/commands: Moved commands that were rebased into the wrong directory 2014-11-14 03:17:21 -08:00
Matt Bell
0c205f56cb core/commands2: Added 'commands' command 2014-11-14 03:17:21 -08:00
Matt Bell
921d3a51ab commands/http: Pass root command in as field instead of statically depending on core/commands 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
fb12530822 cmd/ipfs2: Got rid of second root command in favor of Command#Private 2014-11-14 03:17:21 -08:00
Matt Bell
17c6907e1f core/command2: Fixed ls output for XML marshalling 2014-11-14 03:17:21 -08:00
Matt Bell
f2271356f5 core/commands2: Added 'ls' command 2014-11-14 03:17:20 -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
Matt Bell
9fb20dabb3 cmd/ipfs2: Added init command 2014-11-14 03:17:20 -08:00
Brian Tiger Chow
db7a42e73c refactor(cmd/ipfs2) rename to match cmd/ipfs1 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
1dd0ade3ab fix(commands2/cat) rm extraneous print in output 2014-11-14 03:17:20 -08:00
Brian Tiger Chow
eb1a5618a0 chore(Makefile) provide install task 2014-11-14 03:17:20 -08:00
Brian Tiger Chow
0aa205f36e fix(core/commands2) ipfs help message 2014-11-14 03:16:06 -08:00
Brian Tiger Chow
026c30fa71 fix(cmd/ipfs2/daemon) imports 2014-11-14 03:16:06 -08:00
Brian Tiger Chow
8c56280cb9 put original daemon back in place 2014-11-14 03:16:06 -08:00
Brian Tiger Chow
525126c7e8 move new daemon to daemon2 2014-11-14 03:16:05 -08:00
Brian Tiger Chow
93e959a459 fix(cmd/ipfs2, commands) imports 2014-11-14 03:16:05 -08:00
Brian Tiger Chow
465cce9950 remove duplicate files
these weren't actually modified when commands2 was introduced. they're
exact replicas of the ones that presently exist in core/commands.
2014-11-14 03:16:05 -08:00
Brian Tiger Chow
78b5fbffc7 new commands to commands2 2014-11-14 03:16:05 -08:00
Brian Tiger Chow
a5db13f3ae original commands to original dir 2014-11-14 03:16:05 -08:00
Brian Tiger Chow
e1eb71fce5 new commands to temp dir 2014-11-14 03:16:05 -08:00
Brian Tiger Chow
510a4a9093 move new commands to new place 2014-11-14 03:16:05 -08:00
Brian Tiger Chow
3d9331512d move originals back to ipfs 2014-11-14 03:16:05 -08:00
Brian Tiger Chow
b3a96d2bb3 move temporarily 2014-11-14 03:16:04 -08:00
Matt Bell
afd8fadba8 core/commands: Added 'cat' command 2014-11-14 03:16:04 -08:00
Matt Bell
aea52132cb cmd/ipfs: Initialize IpfsNode when running locally or starting daemon 2014-11-14 03:16:04 -08:00
Matt Bell
7b2f4488b7 core/commands: Added Type to 'beep' command 2014-11-14 03:16:04 -08:00