Skip to content

Commit a3a81dc

Browse files
committed
but: updates from 0.19.2
1 parent 08a58e5 commit a3a81dc

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

completers/common/but_completer/cmd/skill_install.go

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,13 @@ func init() {
1818
skill_installCmd.Flags().BoolP("detect", "d", false, "Automatically detect where to install by finding existing installation")
1919
skill_installCmd.Flags().BoolP("global", "g", false, "Install the skill globally instead of in the current repository")
2020
skill_installCmd.Flags().BoolP("help", "h", false, "Print help (see more with '--help')")
21-
skill_installCmd.Flags().StringP("path", "p", "", "Custom path where to install the skill (relative to repository root or absolute)")
21+
skill_installCmd.Flags().StringP("path", "p", "", "Custom path where to install the skill (relative to repository root or absolute). Outside a repository, relative paths require --global")
2222
skillCmd.AddCommand(skill_installCmd)
2323

24+
carapace.Gen(skill_installCmd).FlagCompletion(carapace.ActionMap{
25+
"path": carapace.ActionDirectories(),
26+
})
27+
2428
carapace.Gen(skill_installCmd).PositionalCompletion(
2529
carapace.ActionFiles().ChdirF(traverse.GitWorkTree),
2630
)

0 commit comments

Comments
 (0)