Commit Graph

179 Commits

Author SHA1 Message Date
Matt Bell
7a4491ada3 Added --mount flag to mount when running 'ipfs daemon' 2014-11-18 03:31:32 -08:00
Matt Bell
a0bd29d5be core/commands2: Fixed swarm command for new arguments API 2014-11-18 02:16:30 -08:00
Matt Bell
0709621a2c core/commands2: Updated id command for new argument API 2014-11-18 02:13:57 -08:00
Matt Bell
bde015616f core/commands2: add: Handle 'addDagnode' errors 2014-11-18 02:13:56 -08:00
Matt Bell
bfdf7951b3 core/commands2: Use path.Split for path parsing in 'add' 2014-11-18 02:13:56 -08:00
Matt Bell
d1f1d2f5bf core/commands2: Fixed commands to use string arguments 2014-11-18 02:13:55 -08:00
Matt Bell
032e9c292f core/commands2: Updated 'add' command for new file API 2014-11-18 02:13:54 -08:00
Matt Bell
fe6ac42c0e core/commands2: Updated 'add' command for request file API 2014-11-18 02:13:54 -08:00
Matt Bell
052d387ae5 core/commands2: Fixed 'block' command for req.Files() API 2014-11-18 02:13:53 -08:00
Juan Batiz-Benet
81135f3dc2 added ipfs swarm connect 2014-11-18 01:47:01 -08:00
Juan Batiz-Benet
4d78c2d7ff cmds: swarm peer 2014-11-18 00:48:03 -08:00
Juan Batiz-Benet
21d2838d4f cmds/id: fixed args + err checks 2014-11-17 23:46:46 -08:00
Juan Batiz-Benet
f47b4f1799 Merge pull request #255 from jbenet/id-cmd
basic ID cmd
2014-11-17 23:23:06 -08:00
Jeromy
7d2f3d810c fix tabbing 2014-11-17 11:57:57 -08:00
Jeromy
4588732af3 address comments from PR 2014-11-17 10:27:41 -08:00
Jeromy
0de12b5d36 implement ipfs id in the new commands library 2014-11-16 16:46:06 -08:00
Christian Couder
46d8acf60f Add missing 'mount' in mount synopsis
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2014-11-16 21:04:53 +01:00
Christian Couder
5098e39203 Suggest use of ipfs daemon in mount help message
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2014-11-16 18:14:27 +01:00
Juan Batiz-Benet
93ad2bd057 mount: if already mounted, unmount before new attempt
This is because if the user specifies that they want
to mount multiple times, something must be wrong. try
unmounting to reset things and then proceed.
2014-11-16 02:22:53 -08:00
Juan Batiz-Benet
99f2378bac mount: fixed mount init + teardown
This commit adds a Mount abstraction (which is really just
a wrapped context closer). It makes sure to bind the mount
to the fate of the Node (i.e. close it if the node ends).
This fixes #350
2014-11-16 01:42:42 -08:00
Juan Batiz-Benet
a4488cab4c cmds: root help inc synopsis 2014-11-15 09:04:49 -08:00
Juan Batiz-Benet
7d448d9dab cmds mount synopsis 2014-11-15 09:04:49 -08:00
Juan Batiz-Benet
1871d37f12 Merge pull request #333 from zignig/mount_fix
windows mount  fix
2014-11-15 06:51:55 -08:00
Juan Batiz-Benet
8a284c9848 cmds: fix block output. 2014-11-15 06:43:02 -08:00
Simon Kirkby
43fb5d5d72 windows fix 2014-11-14 21:03:30 +08:00
Brian Tiger Chow
a0dab3a29a docs(2/pin)
ipfs1 docs read:

```
btc λ. ipfs pin
ipfs pin -

Commands:

        add         pin an ipfs object to local storage.
        rm          unpin an ipfs object from local storage.

        Use "pin help <command>" for more information about a command.
```

License: MIT
Signed-off-by: Brian Tiger Chow <brian@perfmode.com>
2014-11-14 03:24:43 -08:00
Juan Batiz-Benet
f30161b063 cmds: nicer error on no mountpoint 2014-11-14 03:20:46 -08:00
Matt Bell
e4b630289a block put: Support stdin input on 'block put' 2014-11-14 03:20:11 -08:00
Juan Batiz-Benet
97d2f48b7c cmds2: change add arg name 2014-11-14 03:20:11 -08:00
Matt Bell
d05661548c object links: Fixed description 2014-11-14 03:20:11 -08:00
Juan Batiz-Benet
5e598f9a52 cmds2: mount exmplae 2014-11-14 03:20:11 -08:00
Matt Bell
b3da13a4af object links: Added text marshaling 2014-11-14 03:20:10 -08:00
Matt Bell
7bd7624ccc object data: Moved some helptext into LongDescription 2014-11-14 03:20:10 -08:00
Matt Bell
9d299636ad object put: Made output (almost) match original output
(The file path is omitted, but since only one object can be added at a time, I think this is ok)
2014-11-14 03:20:10 -08:00
Matt Bell
fceb55ef1e object put: Added plaintext marshaler 2014-11-14 03:20:10 -08:00
Matt Bell
b4de6cce9a object put: Fixed putting objects with JSON encoding 2014-11-14 03:20:10 -08:00
Matt Bell
eb696d9ac7 object put: Formatted helptext 2014-11-14 03:20:10 -08:00
Matt Bell
537f94a318 object get: Fixed protobuf marshaling 2014-11-14 03:20:10 -08:00
Matt Bell
4eaf38c6ba object: Added a synopsis 2014-11-14 03:20:10 -08:00
Brian Tiger Chow
d842c3c98f fix(2/update) insert line break
License: MIT
Signed-off-by: Brian Tiger Chow <brian@perfmode.com>
2014-11-14 03:20:09 -08:00
Brian Tiger Chow
92c168b03e fix(2/update) newlines
License: MIT
Signed-off-by: Brian Tiger Chow <brian@perfmode.com>
2014-11-14 03:20:09 -08:00
Juan Batiz-Benet
e0ba14c0eb cmds2: use cmdDetails on level cmds 2014-11-14 03:20:09 -08:00
Juan Batiz-Benet
1348af01b9 cmd2: version test 2014-11-14 03:20:09 -08:00
Juan Batiz-Benet
aab1a31b1b cmds2: add fix, was not adding dirs 2014-11-14 03:20:08 -08:00
Juan Batiz-Benet
e00830332f cmds2: name synopsis. 2014-11-14 03:20:08 -08:00
Brian Tiger Chow
80dcc5d237 fix(2/version)
License: MIT
Signed-off-by: Brian Tiger Chow <brian@perfmode.com>
2014-11-14 03:20:08 -08:00
Juan Batiz-Benet
bb8d4ebd6b cmds2: cmdDetailsMap 2014-11-14 03:20:07 -08:00
Matt Bell
120ead26f4 resolve: Added a TODO 2014-11-14 03:20:06 -08:00
Matt Bell
e35453c50d mount: Cleaned up option descriptions 2014-11-14 03:20:06 -08:00
Brian Tiger Chow
a00da7b728 add debug log statement
License: MIT
Signed-off-by: Brian Tiger Chow <brian@perfmode.com>
2014-11-14 03:20:06 -08:00