cmd

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2026 License: Apache-2.0 Imports: 29 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute() error

func NewAddCmd

func NewAddCmd(baseCmd *internalcmd.BaseCmd, opt ...cmdopts.CmdOption) (*cobra.Command, error)

NewAddCmd creates a newly configured (Cobra) command.

func NewDaemonCmd

func NewDaemonCmd(baseCmd *cmd.BaseCmd, opt ...cmdopts.CmdOption) (*cobra.Command, error)

NewDaemonCmd creates a newly configured (Cobra) command.

func NewInitCmd

func NewInitCmd(baseCmd *cmd.BaseCmd, opt ...cmdopts.CmdOption) (*cobra.Command, error)

func NewInspectorCmd

func NewInspectorCmd(baseCmd *internalcmd.BaseCmd, _ ...cmdopts.CmdOption) (*cobra.Command, error)

NewInspectorCmd creates a newly configured (Cobra) command.

func NewRemoveCmd

func NewRemoveCmd(baseCmd *cmd.BaseCmd, opt ...cmdopts.CmdOption) (*cobra.Command, error)

NewRemoveCmd creates a newly configured (Cobra) command.

func NewRootCmd

func NewRootCmd(c *RootCmd) (*cobra.Command, error)

func NewSearchCmd

func NewSearchCmd(baseCmd *internalcmd.BaseCmd, opt ...cmdopts.CmdOption) (*cobra.Command, error)

Types

type AddCmd

type AddCmd struct {
	*internalcmd.BaseCmd
	Version         string
	Tools           []string
	Runtime         string
	Source          string
	Format          internalcmd.OutputFormat
	AllowDeprecated bool
	CacheDisabled   bool
	CacheRefresh    bool
	CacheDir        string
	CacheTTL        string
	// contains filtered or unexported fields
}

AddCmd should be used to represent the 'add' command.

type DaemonCmd

type DaemonCmd struct {
	*cmd.BaseCmd
	// contains filtered or unexported fields
}

DaemonCmd represents the 'daemon' command.

type InitCmd

type InitCmd struct {
	*cmd.BaseCmd
	// contains filtered or unexported fields
}

type InspectorCmd

type InspectorCmd struct {
	*internalcmd.BaseCmd
}

InspectorCmd represents the 'inspector' command.

type RemoveCmd

type RemoveCmd struct {
	*cmd.BaseCmd
	// contains filtered or unexported fields
}

RemoveCmd should be used to represent the 'remove' command.

type RootCmd

type RootCmd struct {
	*cmd.BaseCmd
}

type SearchCmd

type SearchCmd struct {
	*internalcmd.BaseCmd
	Version       string
	Runtime       string
	Tools         []string
	Tags          []string
	Categories    []string
	License       string
	Source        string
	Format        internalcmd.OutputFormat
	IsOfficial    bool
	CacheDisabled bool
	CacheRefresh  bool
	CacheDir      string
	CacheTTL      string
	// contains filtered or unexported fields
}

Directories

Path Synopsis
env

Jump to

Keyboard shortcuts

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