cmd

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2024 License: Apache-2.0 Imports: 28 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute()

Execute is ...

func GetRootCommand

func GetRootCommand() *cobra.Command

func NewCmdArt

func NewCmdArt(out io.Writer, errOut io.Writer) *cobra.Command

func NewCmdLogFormat

func NewCmdLogFormat(out io.Writer, errOut io.Writer) *cobra.Command

NewCmdLogFormat a command object for the "log-format" command

func NewCmdRoot

func NewCmdRoot(in io.Reader, out, err io.Writer, cmd *cobra.Command) *cobra.Command

func NewRootCommand

func NewRootCommand(in io.Reader, out, err io.Writer) *cobra.Command

func NewUnwrapIdentityFileCommand

func NewUnwrapIdentityFileCommand(out io.Writer, errOut io.Writer) *cobra.Command

Types

type ArtOptions

type ArtOptions struct {
	common.CommonOptions
}

func (*ArtOptions) Run

func (o *ArtOptions) Run() error

Run ...

type IdentityConfigFile

type IdentityConfigFile struct {
	ZtAPI       string          `json:"ztAPI"`
	ID          identity.Config `json:"id"`
	ConfigTypes []string        `json:"configTypes"`
}

type LogFormatOptions

type LogFormatOptions struct {
	common.CommonOptions
	// contains filtered or unexported fields
}

LogFormatOptions contains the command line options

func (*LogFormatOptions) Run

func (o *LogFormatOptions) Run() error

Run implements this command

type MainOptions

type MainOptions struct {
	common.CommonOptions
}

InitOptions the flags for running init

type RootCmd

type RootCmd struct {
	// contains filtered or unexported fields
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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