cli

package
v0.9.8 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2020 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Overview

Package cli contains the cobra commands used to interact with the starname module via CLI

Index

Constants

This section is empty.

Variables

View Source
var (
	// CLI module error codes being with 4xx
	// ErrCertificateNotProvided is returned by the CLI when certificates are not provided
	ErrCertificateNotProvided = sdkerrors.Register(types.ModuleName, 400, "provide certificate")
	// ErrCertificatedProvidedOnlyOne is returned when multiple certs + key value certs are provided via CLI
	ErrCertificateProvideOnlyOne = sdkerrors.Register(types.ModuleName, 401, "provide either cert or cert-file")
	// ErrInvalidCertificate is returned when the provided certificate is deemed to be invalid
	ErrInvalidCertificate = sdkerrors.Register(types.ModuleName, 402, "invalid certificate")
)

Functions

func GetQueryCmd

func GetQueryCmd(moduleQueryPath string, cdc *codec.Codec) *cobra.Command

GetQueryCmd builds the commands for queries in the domain module

func GetTxCmd

func GetTxCmd(storeKey string, cdc *codec.Codec) *cobra.Command

GetTxCmd clubs together all the CLI tx commands

Types

This section is empty.

Jump to

Keyboard shortcuts

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