cli

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2023 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Overview

nolint

Index

Constants

View Source
const (
	FlagID              = "id"
	FlagPubKey          = "pubkey"
	FlagPubKeyAlgo      = "pubkey-algo"
	FlagCertificateFile = "cert-file"
	FlagCredentials     = "credentials"
	FlagData            = "data"
)

Variables

View Source
var (
	FsCreateIdentity = flag.NewFlagSet("", flag.ContinueOnError)
	FsUpdateIdentity = flag.NewFlagSet("", flag.ContinueOnError)
)

common flagsets to add to various functions

Functions

func GetCmdQueryIdentity

func GetCmdQueryIdentity() *cobra.Command

GetCmdQueryIdentity implements the query identity command.

func GetQueryCmd

func GetQueryCmd() *cobra.Command

GetQueryCmd returns the cli query commands for the module.

func NewCreateIdentityCmd

func NewCreateIdentityCmd() *cobra.Command

NewCreateIdentityCmd implements creating an identity command

func NewTxCmd

func NewTxCmd() *cobra.Command

NewTxCmd returns the transaction commands for this module

func NewUpdateIdentityCmd

func NewUpdateIdentityCmd() *cobra.Command

NewUpdateIdentityCmd implements updating an identity command

Types

This section is empty.

Jump to

Keyboard shortcuts

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