ipfs

package
v0.5.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 12, 2020 License: Apache-2.0, MIT, Apache-2.0, + 1 more Imports: 53 Imported by: 0

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

func MainStart(subCmd string) int

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

func YesNoPrompt(prompt string) bool

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL