Skip to content

Commit ccf24e9

Browse files
committed
Add forward-compat comments on --skills flag
Co-authored-by: Isaac
1 parent 316deca commit ccf24e9

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

experimental/aitools/cmd/list.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,15 @@ import (
1717
var listSkillsFn = defaultListSkills
1818

1919
func newListCmd() *cobra.Command {
20+
// --skills is accepted for forward-compat (future component types)
21+
// but currently skills is the only component, so the output is the same.
2022
var showSkills bool
2123

2224
cmd := &cobra.Command{
2325
Use: "list",
2426
Short: "List installed AI tools components",
2527
RunE: func(cmd *cobra.Command, args []string) error {
26-
// Currently skills is the only component, so always show detailed view.
28+
_ = showSkills
2729
return listSkillsFn(cmd)
2830
},
2931
}

experimental/aitools/cmd/version.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ func newVersionCmd() *cobra.Command {
1818
Use: "version",
1919
Short: "Show installed AI skills version",
2020
RunE: func(cmd *cobra.Command, args []string) error {
21-
// showSkills is accepted for forward-compat but currently
22-
// skills is the only component, so the output is the same.
21+
// --skills is accepted for forward-compat (future component types)
22+
// but currently skills is the only component, so the output is the same.
2323
_ = showSkills
2424
ctx := cmd.Context()
2525

0 commit comments

Comments
 (0)