cmd

package
v0.0.18 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAiCli

func NewAiCli() *cobra.Command

func NewChatCmd added in v0.0.9

func NewChatCmd() *cobra.Command

func NewClearCmd added in v0.0.17

func NewClearCmd() *cobra.Command

NewClearCmd creates a new command to clear the secrets stored during setup

func NewDiscoverCmd added in v0.0.9

func NewDiscoverCmd() *cobra.Command

NewDiscoverCmd creates a new command to discover AI capabilities for the current system TODO: rename to "capabilities" or "features"?

func NewSetupCmd added in v0.0.17

func NewSetupCmd() *cobra.Command

NewDiscoverCmd creates a new command to discover AI capabilities for the current system TODO: rename to "capabilities" or "features"?

func NewVersionCmd added in v0.0.9

func NewVersionCmd() *cobra.Command

Types

type ChatCmdOptions added in v0.0.9

type ChatCmdOptions struct {
	Logger
	// contains filtered or unexported fields
}

func NewChatCmdOptions added in v0.0.9

func NewChatCmdOptions() *ChatCmdOptions

func (*ChatCmdOptions) Complete added in v0.0.9

func (o *ChatCmdOptions) Complete(cmd *cobra.Command, _ []string) error

Complete fills in any missing information by gathering data from flags, environment, or other sources It converts user input into a usable configuration

func (*ChatCmdOptions) Run added in v0.0.9

func (o *ChatCmdOptions) Run(cmd *cobra.Command) error

Run executes the main logic of the command once its complete and validated

func (*ChatCmdOptions) Validate added in v0.0.9

func (o *ChatCmdOptions) Validate() error

Validate ensures that all required arguments and flag values are provided

type ClearCmdOptions added in v0.0.17

type ClearCmdOptions struct {
	Logger
	// contains filtered or unexported fields
}

func NewClearCmdOptions added in v0.0.17

func NewClearCmdOptions() *ClearCmdOptions

func (*ClearCmdOptions) Complete added in v0.0.17

func (o *ClearCmdOptions) Complete(cmd *cobra.Command, _ []string) error

Complete fills in any missing information by gathering data from flags, environment, or other sources It converts user input into a usable configuration

func (*ClearCmdOptions) Run added in v0.0.17

func (o *ClearCmdOptions) Run(cmd *cobra.Command) error

Run executes the main logic of the command once its complete and validated

func (*ClearCmdOptions) Validate added in v0.0.17

func (o *ClearCmdOptions) Validate(cmd *cobra.Command) error

Validate ensures that all required arguments and flag values are provided

type DiscoverCmdOptions added in v0.0.9

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

func NewDiscoverCmdOptions added in v0.0.9

func NewDiscoverCmdOptions() *DiscoverCmdOptions

func (*DiscoverCmdOptions) Complete added in v0.0.9

func (o *DiscoverCmdOptions) Complete(cmd *cobra.Command, _ []string) error

Complete fills in any missing information by gathering data from flags, environment, or other sources It converts user input into a usable configuration

func (*DiscoverCmdOptions) Run added in v0.0.9

func (o *DiscoverCmdOptions) Run(cmd *cobra.Command) error

Run executes the main logic of the command once its complete and validated

func (*DiscoverCmdOptions) Validate added in v0.0.9

func (o *DiscoverCmdOptions) Validate(cmd *cobra.Command) error

Validate ensures that all required arguments and flag values are provided

type Logger added in v0.0.15

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

type SetupCmdOptions added in v0.0.17

type SetupCmdOptions struct {
	Logger
	// contains filtered or unexported fields
}

func NewSetupCmdOptions added in v0.0.17

func NewSetupCmdOptions() *SetupCmdOptions

func (*SetupCmdOptions) Complete added in v0.0.17

func (o *SetupCmdOptions) Complete(cmd *cobra.Command, _ []string) error

Complete fills in any missing information by gathering data from flags, environment, or other sources It converts user input into a usable configuration

func (*SetupCmdOptions) Run added in v0.0.17

func (o *SetupCmdOptions) Run(cmd *cobra.Command) error

Run executes the main logic of the command once its complete and validated

func (*SetupCmdOptions) Validate added in v0.0.17

func (o *SetupCmdOptions) Validate(cmd *cobra.Command) error

Validate ensures that all required arguments and flag values are provided

type VersionCmdOptions added in v0.0.9

type VersionCmdOptions struct{}

func NewVersionCmdOptions added in v0.0.9

func NewVersionCmdOptions() *VersionCmdOptions

func (*VersionCmdOptions) Complete added in v0.0.9

func (o *VersionCmdOptions) Complete(_ *cobra.Command, _ []string) error

Complete fills in any missing information by gathering data from flags, environment, or other sources It converts user input into a usable configuration

func (*VersionCmdOptions) Run added in v0.0.9

func (o *VersionCmdOptions) Run(cmd *cobra.Command) error

Run executes the main logic of the command once its complete and validated

func (*VersionCmdOptions) Validate added in v0.0.9

func (o *VersionCmdOptions) Validate() error

Validate ensures that all required arguments and flag values are provided

Jump to

Keyboard shortcuts

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