Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client wraps the skills.sh API
func (*Client) ListPopular ¶ added in v0.15.0
ListPopular returns popular skills for autocompletion
type GitHubBlobResponse ¶ added in v0.15.0
type GitHubBlobResponse struct {
Content string `json:"content"`
Encoding string `json:"encoding"`
SHA string `json:"sha"`
}
GitHubBlobResponse represents the GitHub blob API response
type GitHubTreeEntry ¶ added in v0.15.0
type GitHubTreeEntry struct {
Path string `json:"path"`
Mode string `json:"mode"`
Type string `json:"type"` // "blob" or "tree"
SHA string `json:"sha"`
URL string `json:"url"`
}
GitHubTreeEntry represents an entry in the GitHub tree API response
type GitHubTreeResponse ¶ added in v0.15.0
type GitHubTreeResponse struct {
SHA string `json:"sha"`
URL string `json:"url"`
Tree []GitHubTreeEntry `json:"tree"`
Truncated bool `json:"truncated"`
}
GitHubTreeResponse represents the GitHub tree API response
type Installer ¶ added in v0.15.0
type Installer struct {
// contains filtered or unexported fields
}
Installer handles downloading and installing skills from GitHub
func NewInstaller ¶ added in v0.15.0
func NewInstaller() *Installer
NewInstaller creates a new skill installer
Click to show internal directories.
Click to hide internal directories.