cmd

package
v0.1.37 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2026 License: MIT Imports: 7 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrInvalidFlagUsage = errors.Register(types.ModuleName, 1110, "invalid flag usage")

ErrInvalidFlagUsage is returned when CLI flags are used incorrectly or in incompatible combinations

Functions

func ParseAndSetNetworkRelatedFlags added in v0.1.13

func ParseAndSetNetworkRelatedFlags(cmd *cobra.Command) error

ParseAndSetNetworkRelatedFlags checks if the --network flag is set (i.e. not empty-string). If so, sets the following flags according to their hard-coded network-specific values: • --chain-id • --node • --grpc-addr • --grpc-insecure • --faucet-base-url

Types

type ArmoredJson

type ArmoredJson struct {
	Kdf        string `json:"kdf" yaml:"kdf"`
	Salt       string `json:"salt" yaml:"salt"`
	SecParam   string `json:"secparam" yaml:"secparam"`
	Hint       string `json:"hint" yaml:"hint"`
	Ciphertext string `json:"ciphertext" yaml:"ciphertext"`
}

ArmoredJson is a data structure which is used to (de)serialize the encrypted exported Morse private key file. Copy-pasted from https://github.com/pokt-network/pocket-core/blob/2cd25e82095dc52939fef58e9cc3deb1923c01f7/crypto/keys/mintkey/mintkey.go#L96

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

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