Documentation
¶
Overview ¶
Package agentskill handles installation of the Brev CLI agent skill
Index ¶
- func GetSkillDir(homeDir string) string
- func GetSkillDirs(homeDir string) []string
- func InstallSkill(t *terminal.Terminal, homeDir string, quiet bool) error
- func IsAnyAgentInstalled(homeDir string) bool
- func IsSkillInstalled(homeDir string) bool
- func NewCmdAgentSkill(t *terminal.Terminal, store AgentSkillStore) *cobra.Command
- func UninstallSkill(t *terminal.Terminal, homeDir string) error
- type AgentSkillStore
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetSkillDir ¶
GetSkillDir returns the primary skill directory (for backwards compat)
func GetSkillDirs ¶
GetSkillDirs returns all paths where the skill should be installed
func InstallSkill ¶
InstallSkill downloads and installs the agent skill to all install paths
func IsAnyAgentInstalled ¶ added in v0.6.323
IsAnyAgentInstalled returns true if any of installDirs exists under homeDir.
func IsSkillInstalled ¶
IsSkillInstalled checks if the brev-cli skill is installed in any location
func NewCmdAgentSkill ¶
func NewCmdAgentSkill(t *terminal.Terminal, store AgentSkillStore) *cobra.Command
NewCmdAgentSkill creates the agent-skill command with install/uninstall subcommands
Types ¶
type AgentSkillStore ¶
AgentSkillStore interface for any store dependencies
Click to show internal directories.
Click to hide internal directories.