Commit Graph

3368 Commits

Author SHA1 Message Date
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
Matt Bell
54587897c1 cmd/ipfs: Default to plaintext encoding if avilable, otherwise JSON 2014-11-14 03:16:04 -08:00
Matt Bell
edb632a644 core/commands: Added a Format function for the 'beep' command 2014-11-14 03:16:04 -08:00
Matt Bell
b3ff407d38 commands: Gave Requests a reference to the command they are being called on 2014-11-14 03:16:04 -08:00
Matt Bell
be3cb39ed5 core/commands: Added 'echo' command that writes input stream to output stream 2014-11-14 03:16:04 -08:00
Matt Bell
e297e2da41 core/commands: Added a 'args' command to test argument parsing 2014-11-14 03:16:03 -08:00
Matt Bell
4bbd579068 cmd/ipfs: Added 'local' flag to call command locally instead of executing on daemon 2014-11-14 03:16:03 -08:00
Matt Bell
436462c86a server/http: Fixed build error 2014-11-14 03:16:03 -08:00
Matt Bell
063cb536df cmd/ipfs: Display help text when help flag is set 2014-11-14 03:16:03 -08:00
Matt Bell
8edfee2a58 cmd/ipfs: Removed new commands (to be refactored later) 2014-11-14 03:16:03 -08:00
Matt Bell
c679783084 cmd/ipfs: Log to show API server is listening 2014-11-14 03:16:03 -08:00
Matt Bell
0b73a48b84 commands/http: Made Handler set request contexts 2014-11-14 03:16:03 -08:00
Matt Bell
3f4da97c58 cmd/ipfs: Use daemon lock functions 2014-11-14 03:16:03 -08:00
Matt Bell
d67e1e5068 daemon: Replaced daemon package with lock functions 2014-11-14 03:16:03 -08:00
Matt Bell
7efa174f2d cmd/ipfs: Made daemon command use request context instead of loading config 2014-11-14 03:16:03 -08:00
Matt Bell
2419ffdb2d cmd/ipfs: Load config and put in request context 2014-11-14 03:16:02 -08:00
Matt Bell
7d53e736cf cmd/ipfs: Added getConfig function 2014-11-14 03:16:02 -08:00
Matt Bell
cf60fdd3d9 cmd/ipfs: Load API address from config 2014-11-14 03:16:02 -08:00
Matt Bell
e2ed10b85b cmd/ipfs: Use lock to check if daemon is running, if not then run command locally 2014-11-14 03:16:02 -08:00
Matt Bell
e011d950bb cmd/ipfs: Obtain lock when starting daemon 2014-11-14 03:16:02 -08:00
Matt Bell
d87aad1e3a cmd/ipfs: Do command option conversion in CLI entry point 2014-11-14 03:16:02 -08:00
Matt Bell
b4fc0dba96 cmd/ipfs: Added basic daemon command 2014-11-14 03:16:02 -08:00
Matt Bell
b499c90db3 commands/http: Moved HTTP RPC handler into commands/http 2014-11-14 03:16:02 -08:00
Matt Bell
e82532c7d1 cmd/ipfs: Added ipfs.exe to .gitignore 2014-11-14 03:16:02 -08:00
Matt Bell
36bdc456d2 commands/http: Moved HTTP RPC into commands/http package 2014-11-14 03:16:01 -08:00
Matt Bell
201ad30a7b cmd/ipfs: Run CLI-specific subcommands locally in CLI entry point 2014-11-14 03:16:01 -08:00