versioncmd

package
v1.0.10 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Command

type Command struct {
	*command.BaseCommand
}

func NewVersionCommand

func NewVersionCommand(cmdContext *command.Context) *Command

func (*Command) Args

func (c *Command) Args() command.PositionalArgs

func (*Command) DefaultOutputType added in v0.1.0

func (c *Command) DefaultOutputType() command.OutputType

func (*Command) Init

func (c *Command) Init() error

func (*Command) PreRun

func (c *Command) PreRun(cmd *cobra.Command, args []string) cenclierrors.CencliError

func (*Command) Run

func (c *Command) Run(cmd *cobra.Command, args []string) cenclierrors.CencliError

func (*Command) Short

func (c *Command) Short() string

func (*Command) SupportedOutputTypes added in v0.1.0

func (c *Command) SupportedOutputTypes() []command.OutputType

func (*Command) Use

func (c *Command) Use() string

Jump to

Keyboard shortcuts

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