Documentation ¶
Overview ¶
cmd/ipfs implements the primary CLI binary for ipfs
Index ¶
Constants ¶
View Source
const (
EnvEnableProfiling = "IPFS_PROF"
)
Variables ¶
View Source
var Root = &cmds.Command{ Options: commands.Root.Options, Helptext: commands.Root.Helptext, }
This is the CLI root, used for executing commands accessible to CLI clients. Some subcommands (like 'ipfs daemon' or 'ipfs init') are only accessible here, and can't be called through the HTTP API.
Functions ¶
func MainStart ¶
main roadmap: - parse the commandline to get a cmdInvocation - if user requests help, print it and exit. - run the command invocation - output the response - if anything fails, print error, maybe with help
func YesNoPrompt ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.