File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ var builtinCommands = map[string]bool{
2727 "init" : true ,
2828 "help" : true ,
2929 "completion" : true ,
30- "skill" : true ,
30+ "install" : true ,
3131}
3232
3333func Execute () error {
Original file line number Diff line number Diff line change @@ -18,21 +18,17 @@ const skillDirName = "clime-cli"
1818const skillFileName = "SKILL.md"
1919
2020func init () {
21- skillCmd .AddCommand (skillInstallCmd )
22- rootCmd .AddCommand (skillCmd )
21+ installCmd .AddCommand (installSkillCmd )
22+ rootCmd .AddCommand (installCmd )
2323}
2424
25- var skillCmd = & cobra.Command {
26- Use : "skill" ,
27- Short : "Display or install the clime skill for AI agents" ,
28- RunE : func (cmd * cobra.Command , args []string ) error {
29- fmt .Print (SkillContent )
30- return nil
31- },
25+ var installCmd = & cobra.Command {
26+ Use : "install" ,
27+ Short : "Install clime components" ,
3228}
3329
34- var skillInstallCmd = & cobra.Command {
35- Use : "install " ,
30+ var installSkillCmd = & cobra.Command {
31+ Use : "skill " ,
3632 Short : "Install the clime-cli skill into ~/.claude/skills and ~/.codex/skills" ,
3733 RunE : func (cmd * cobra.Command , args []string ) error {
3834 home , err := os .UserHomeDir ()
You can’t perform that action at this time.
0 commit comments