kubo/cmd/ipfs
Tor Arne Vestbø 61efc4de1d Revert "fix ugly error message when killing commands"
This reverts commit f74e71f965.

The 'Online' flag of the command context does not seem to be set in
any code paths, at least not when running commands such as 'ipfs daemon'
or 'ipfs ping'. The result after f74e71f9 is that we never shutdown
cleanly, as we'll always os.Exit(0) from the interrupt handler.

The os.Exit(0) itself is also dubious, as conceptually the interrupt
handler should ask whatever is stalling to stop stalling, so that
main() can return like normal. Exiting with -1 in error cases where
the interrupt handler is unable to stop the stall is fine, but the
normal case of interrupting cleanly should exit through main().
2015-04-20 14:55:41 +02: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 gobuilder improvements 2015-04-02 03:00:49 -07:00
daemon.go make ipfs understand the new migration 2015-04-20 02:26:33 -07:00
equinox.yaml transitioned ipfs2 -> ipfs 2014-11-18 06:15:00 -08:00
init.go remove debugerrors 2015-04-20 00:35:35 -07:00
ipfs.go Reorged imports from jbenet/go-ipfs to ipfs/go-ipfs 2015-03-31 12:52:25 -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 Revert "fix ugly error message when killing commands" 2015-04-20 14:55:41 +02:00
Makefile transitioned ipfs2 -> ipfs 2014-11-18 06:15:00 -08:00
README.md gobuilder improvements 2015-04-02 03:00:49 -07:00
tour_test.go Reorged imports from jbenet/go-ipfs to ipfs/go-ipfs 2015-03-31 12:52:25 -07:00
tour.go Reorged imports from jbenet/go-ipfs to ipfs/go-ipfs 2015-03-31 12:52:25 -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, chose 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