kubo/cmd/ipfs
michael 46bcdce15d commands: repo fsck (#2597)
* Adds repo fsck subcommand

Fixes #2457

License: MIT
Signed-off-by: Mike Pfister <pfista@gmail.com>

* Checks for error on file deletion

License: MIT
Signed-off-by: Mike Pfister <pfista@gmail.com>

* Checks if node is online

License: MIT
Signed-off-by: Mike Pfister <pfista@gmail.com>

* Update error checking

License: MIT
Signed-off-by: Michael Pfister <pfista@gmail.com>

* Prevents command from running while daemon is running

License: MIT
Signed-off-by: Michael Pfister <pfista@gmail.com>

* Add newline to command output message

License: MIT
Signed-off-by: Michael Pfister <pfista@gmail.com>

* removing superfluous error

License: MIT
Signed-off-by: Michael Pfister <pfista@gmail.com>

* Adds sharness test for repo fsck command

License: MIT
Signed-off-by: Michael Pfister <pfista@gmail.com>

* Ignore warning if file doesn't exist

License: MIT
Signed-off-by: Michael Pfister <pfista@gmail.com>

* Updating message output

License: MIT
Signed-off-by: Michael Pfister <pfista@gmail.com>

* adding debug statements

License: MIT
Signed-off-by: Michael Pfister <pfista@gmail.com>

* update and add fsck sharness tests

License: MIT
Signed-off-by: Michael Pfister <pfista@gmail.com>

* updating comments

License: MIT
Signed-off-by: Michael Pfister <pfista@gmail.com>

* Use printf in test

Using printf prevents a newline from being printed to the api test file. When
the newline was present, multiaddr threw errors  trying to parse the api address
to an integer since the newline character was present.

License: MIT
Signed-off-by: Michael Pfister <pfista@gmail.com>

* updating tests

License: MIT
Signed-off-by: Michael Pfister <pfista@gmail.com>

* removing commented code

License: MIT
Signed-off-by: Michael Pfister <pfista@gmail.com>
2016-04-27 13:28:53 -07:00
..
dist gobuilder improvements 2015-04-02 03:00:49 -07:00
.gitignore Remove dot and slash before files in cmd/ipfs/.gitignore 2014-11-22 21:55:12 +01:00
.gobuilder.yml added gobuilder no_go_fmt flag to right file 2015-10-31 04:36:13 -04:00
daemon.go Use extracted go-libp2p-crypto, -secio, -peer packages 2016-04-16 21:48:06 -07:00
equinox.yaml transitioned ipfs2 -> ipfs 2014-11-18 06:15:00 -08:00
init.go commands: repo fsck (#2597) 2016-04-27 13:28:53 -07:00
ipfs.go commands: repo fsck (#2597) 2016-04-27 13:28:53 -07:00
main_test.go Reorged imports from jbenet/go-ipfs to ipfs/go-ipfs 2015-03-31 12:52:25 -07:00
main.go commands: repo fsck (#2597) 2016-04-27 13:28:53 -07:00
Makefile makefile fixes 2016-02-05 15:50:40 -08:00
README.md Fix typo. 2016-01-08 07:57:52 +02:00
ulimit_unix.go hide fd adjusting code behind daemon feature flag 2016-04-07 07:41:09 -07:00

go-ipfs/cmd/ipfs

This is the ipfs commandline tool. For now, it's the main entry point to using IPFS.

Install from source

go install
ipfs

Install from gobuilder.me

If you're viewing this in gobuilder, choose the binary that suits you best at the end of this page. Download it, unzip it, and move the binary into place.

Usage

# initialize an ipfs node
ipfs init

# list some commands
ipfs

# get help
ipfs <subcmd> --help