Documentation
¶
Overview ¶
Package ai provides the AI CLI commands. This file imports all AI providers to trigger their registration via init() functions.
Index ¶
- Variables
- type AICommandProvider
- func (a *AICommandProvider) GetAliases() []internal.CommandAlias
- func (a *AICommandProvider) GetCommand() *cobra.Command
- func (a *AICommandProvider) GetCompatibilityFlags() map[string]compat.CompatibilityFlag
- func (a *AICommandProvider) GetFlagsBuilder() flags.Builder
- func (a *AICommandProvider) GetGroup() string
- func (a *AICommandProvider) GetName() string
- func (a *AICommandProvider) GetPositionalArgsBuilder() *flags.PositionalArgsBuilder
- func (a *AICommandProvider) IsExperimental() bool
Constants ¶
This section is empty.
Variables ¶
View Source
var SkillCmd = &cobra.Command{
Use: "skill",
Short: "Manage AI skills",
Long: skillLongMarkdown,
}
SkillCmd represents the 'atmos ai skill' command. Exported for use by skill subpackage.
Functions ¶
This section is empty.
Types ¶
type AICommandProvider ¶
type AICommandProvider struct{}
AICommandProvider implements the CommandProvider interface.
func (*AICommandProvider) GetAliases ¶
func (a *AICommandProvider) GetAliases() []internal.CommandAlias
GetAliases returns a list of command aliases to register.
func (*AICommandProvider) GetCommand ¶
func (a *AICommandProvider) GetCommand() *cobra.Command
func (*AICommandProvider) GetCompatibilityFlags ¶
func (a *AICommandProvider) GetCompatibilityFlags() map[string]compat.CompatibilityFlag
GetCompatibilityFlags returns compatibility flags for this command.
func (*AICommandProvider) GetFlagsBuilder ¶
func (a *AICommandProvider) GetFlagsBuilder() flags.Builder
GetFlagsBuilder returns the flags builder for this command.
func (*AICommandProvider) GetGroup ¶
func (a *AICommandProvider) GetGroup() string
func (*AICommandProvider) GetName ¶
func (a *AICommandProvider) GetName() string
func (*AICommandProvider) GetPositionalArgsBuilder ¶
func (a *AICommandProvider) GetPositionalArgsBuilder() *flags.PositionalArgsBuilder
GetPositionalArgsBuilder returns the positional args builder for this command.
func (*AICommandProvider) IsExperimental ¶
func (a *AICommandProvider) IsExperimental() bool
IsExperimental returns whether this command is experimental.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.