Documentation ¶
Index ¶
- Variables
- func CidFlag(usage string) *cli.StringFlag
- func DataFlag(usage string) *cli.StringFlag
- func InputFileFlag() *cli.StringFlag
- func IsHexEncodedFlag() *cli.BoolFlag
- func IsMnemonicEncodedFlag() *cli.BoolFlag
- func KeyName() *cli.StringFlag
- func KeySize() *cli.IntFlag
- func KeyType() *cli.StringFlag
- func LinkCidFlag(usage string) *cli.StringFlag
- func LinkNameFlag(usage string) *cli.StringFlag
- func LoadAPICommands() cli.Commands
- func LoadAdminCommands() cli.Commands
- func LoadClientCommands() cli.Commands
- func LoadExtrasCommands() cli.Commands
- func LoadFileCommands() cli.Commands
- func LoadKeystoreCommands() cli.Commands
- func LoadNameSysCommands() cli.Commands
- func LoadPubSubCommands() cli.Commands
- func LoadUtilCommands() cli.Commands
- func MnemonicFlag() *cli.StringFlag
- func MultiAddrFlag(usage string) *cli.StringFlag
- func MultiHashFlag() *cli.StringFlag
- func ObjectEncodingFlag() *cli.StringFlag
- func OutputFlag() *cli.StringFlag
- func P2pFlags(cmdFlag *cli.StringFlag) []cli.Flag
- func PeerIDFlag(usage string) *cli.StringFlag
- func PrintProgressFlag() *cli.BoolFlag
- func SerializationFormatFlag() *cli.StringFlag
- func SetupCommands(cctx context.Context, ccancel context.CancelFunc)
Constants ¶
This section is empty.
Variables ¶
var ( // Version is git commit information at build time Version string )
Functions ¶
func CidFlag ¶ added in v1.1.0
func CidFlag(usage string) *cli.StringFlag
CidFlag is used to indicate the cid to proccess
func DataFlag ¶ added in v1.2.0
func DataFlag(usage string) *cli.StringFlag
DataFlag indicates some arbitrary string data
func InputFileFlag ¶ added in v1.1.0
func InputFileFlag() *cli.StringFlag
InputFileFlag allows reading data from a file
func IsHexEncodedFlag ¶ added in v1.1.0
func IsHexEncodedFlag() *cli.BoolFlag
IsHexEncodedFlag indicates if the data is hex encoded
func IsMnemonicEncodedFlag ¶ added in v1.1.0
func IsMnemonicEncodedFlag() *cli.BoolFlag
IsMnemonicEncodedFlag indicates if the data is encoded as mnemonic
func KeySize ¶ added in v1.1.0
func KeySize() *cli.IntFlag
KeySize indicates the size of a key, default size suitable for all but RSA
func LinkCidFlag ¶ added in v1.2.0
func LinkCidFlag(usage string) *cli.StringFlag
LinkCidFlag indicates the cid of a link
func LinkNameFlag ¶ added in v1.2.0
func LinkNameFlag(usage string) *cli.StringFlag
LinkNameFlag indicates the name of a link in IPLD object management
func LoadAPICommands ¶
func LoadAPICommands() cli.Commands
LoadAPICommands returns an api commands object
func LoadAdminCommands ¶
func LoadAdminCommands() cli.Commands
LoadAdminCommands returns an admin api commands object
func LoadClientCommands ¶
func LoadClientCommands() cli.Commands
LoadClientCommands returns a gRPC client commands object
func LoadExtrasCommands ¶
func LoadExtrasCommands() cli.Commands
LoadExtrasCommands returns an extras commands object
func LoadFileCommands ¶
func LoadFileCommands() cli.Commands
LoadFileCommands returns a file commands object
func LoadKeystoreCommands ¶
func LoadKeystoreCommands() cli.Commands
LoadKeystoreCommands returns keystore management commands
func LoadNameSysCommands ¶
func LoadNameSysCommands() cli.Commands
LoadNameSysCommands returns namesys api commands
func LoadPubSubCommands ¶
func LoadPubSubCommands() cli.Commands
LoadPubSubCommands returns a cli commands object for the grpc pubsub client
func LoadUtilCommands ¶ added in v1.1.0
func LoadUtilCommands() cli.Commands
LoadUtilCommands returns generalized utility commands
func MnemonicFlag ¶ added in v1.1.0
func MnemonicFlag() *cli.StringFlag
MnemonicFlag allows saving data as a mnemonic
func MultiAddrFlag ¶ added in v1.1.0
func MultiAddrFlag(usage string) *cli.StringFlag
MultiAddrFlag indicates the multi address to use
func MultiHashFlag ¶ added in v1.2.0
func MultiHashFlag() *cli.StringFlag
MultiHashFlag enables specifying the multihash to use
func ObjectEncodingFlag ¶ added in v1.2.0
func ObjectEncodingFlag() *cli.StringFlag
ObjectEncodingFlag enables specifying alternate encoding formats for creating objects
func OutputFlag ¶ added in v1.1.0
func OutputFlag() *cli.StringFlag
OutputFlag helps to control the style of output
func P2pFlags ¶ added in v1.1.0
func P2pFlags(cmdFlag *cli.StringFlag) []cli.Flag
P2pFlags are used to control p2p stream takes in an argument which is a command that should be loaded with a default value. This is appended to the default p2p command flag list
func PeerIDFlag ¶ added in v1.1.0
func PeerIDFlag(usage string) *cli.StringFlag
PeerIDFlag indicates the peerID
func PrintProgressFlag ¶ added in v1.1.0
func PrintProgressFlag() *cli.BoolFlag
PrintProgressFlag enables printing the progress of uploads
func SerializationFormatFlag ¶ added in v1.2.0
func SerializationFormatFlag() *cli.StringFlag
SerializationFormatFlag enables specifying alternate serialization formats
func SetupCommands ¶
func SetupCommands(cctx context.Context, ccancel context.CancelFunc)
SetupCommands MUST be called to properly setup the commands repository DEPRECATED: is now a no-op
Types ¶
This section is empty.