Documentation
¶
Overview ¶
Package cmd 实现 CLI 命令
Package cmd 实现 CLI 命令
Index ¶
Constants ¶
View Source
const ( Author = "Alfons <alfonsxh@gmail.com>" ProjectURL = "https://github.com/AlfonsSkills/SkillSync" )
项目元数据
Variables ¶
View Source
var ( Version = "dev" GitCommit = "unknown" BuildTime = "unknown" )
版本信息(通过 ldflags 注入)
Functions ¶
Types ¶
type InteractiveContext ¶
type InteractiveContext struct {
Providers []target.ToolProvider // 选中的目标工具
InstallGlobal bool // 是否安装到全局目录
InstallLocal bool // 是否安装到项目目录
ProjectRoot string // 项目根目录(如果 InstallLocal 为 true)
}
InteractiveContext 存储交互式选择的结果
type LocalSkill ¶
type LocalSkill struct {
Name string
Path string
Provider target.ToolProvider // 使用 Provider 替代 Target
Valid bool // Contains SKILL.md
Category string // Category (e.g., public, .system, or empty for root)
Description string // Skill description from SKILL.md frontmatter
}
LocalSkill represents a locally discovered skill
Click to show internal directories.
Click to hide internal directories.