Merge pull request #3152 from phoeagon/main
add installation instructions to picoclaw skills search.
This commit is contained in:
commit
43c671abdc
1 changed files with 5 additions and 0 deletions
|
|
@ -302,6 +302,11 @@ func skillsSearchCmd(query string) {
|
||||||
if result.Version != "" {
|
if result.Version != "" {
|
||||||
fmt.Printf(" Version: %s\n", result.Version)
|
fmt.Printf(" Version: %s\n", result.Version)
|
||||||
}
|
}
|
||||||
|
if result.RegistryName == "github" {
|
||||||
|
fmt.Printf(" Install: picoclaw skills install %s\n", result.Slug)
|
||||||
|
} else {
|
||||||
|
fmt.Printf(" Install: picoclaw skills install --registry=%s %s\n", result.RegistryName, result.Slug)
|
||||||
|
}
|
||||||
fmt.Println()
|
fmt.Println()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue