kubo/cmd/ipfs
Juan Batiz-Benet 5040fee906 implement support for --api option
This commit adds support for the --api option, which allows users
to specify an API endpoint to run the cli command against. It enables
much easier control of remote daemons.

It also
- ensures the API server version matches the API client
- implements support for the $IPFS_PATH/api file

Still TODO:
- tests!
- multiaddr to support /dns/

License: MIT
Signed-off-by: Juan Batiz-Benet <juan@benet.ai>
2015-08-27 08:03:56 +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 updated gobuilder dist 2015-07-28 06:35:50 -07:00
daemon.go implement support for --api option 2015-08-27 08:03:56 +02:00
equinox.yaml transitioned ipfs2 -> ipfs 2014-11-18 06:15:00 -08:00
init.go remove context from context 2015-07-20 20:53:06 -07:00
ipfs.go Move 'tour' to core/commands 2015-05-26 21:04:03 +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 implement support for --api option 2015-08-27 08:03:56 +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

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