ai

package
v1.209.0 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2026 License: Apache-2.0 Imports: 39 Imported by: 0

Documentation

Overview

Package ai provides the AI CLI commands. This file imports all AI providers to trigger their registration via init() functions.

Index

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.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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