Documentation
¶
Index ¶
- func NewAiCli() *cobra.Command
- func NewChatCmd() *cobra.Command
- func NewClearCmd() *cobra.Command
- func NewDiscoverCmd() *cobra.Command
- func NewSetupCmd() *cobra.Command
- func NewVersionCmd() *cobra.Command
- type ChatCmdOptions
- type ClearCmdOptions
- type DiscoverCmdOptions
- type Logger
- type SetupCmdOptions
- type VersionCmdOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewChatCmd ¶ added in v0.0.9
func NewClearCmd ¶ added in v0.0.17
NewClearCmd creates a new command to clear the secrets stored during setup
func NewDiscoverCmd ¶ added in v0.0.9
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
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
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
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
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
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