Help us shape the future of Go! Take the 2026 Go Developer Survey

cmd

package
v0.0.16 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2025 License: Apache-2.0 Imports: 28 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 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 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 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 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