mirror of
https://github.com/ipfs/kubo.git
synced 2026-03-03 23:38:07 +08:00
let's keep this a turn-on for testing sort of thing. (want the outputs of commands like `ipfs add` to be usable as inputs to other programs/scripts). maybe we should consider adding a --debug (not -d), once we figure out adding flags that apply globally :) @whyrusleeping |
||
|---|---|---|
| .. | ||
| .gitignore | ||
| add.go | ||
| cat.go | ||
| commands.go | ||
| config.go | ||
| init.go | ||
| ipfs.go | ||
| ls.go | ||
| Makefile | ||
| mount_unix.go | ||
| mount_windows.go | ||
| README.md | ||
| refs.go | ||
| version.go | ||
go-ipfs/cmd/ipfs
This is the ipfs commandline tool. For now, it's the main entry point to using IPFS. Use it.
> go build
> go install
> ipfs
ipfs - global versioned p2p merkledag file system
Basic commands:
add <path> Add an object to ipfs.
cat <ref> Show ipfs object data.
ls <ref> List links from an object.
refs <ref> List link hashes from an object.
Tool commands:
config Manage configuration.
version Show ipfs version information.
commands List all available commands.
Advanced Commands:
mount Mount an ipfs read-only mountpoint.
Use "ipfs help <command>" for more information about a command.