Documentation
¶
Overview ¶
Package cmd provides the command line interface logic for ask.
Index ¶
Constants ¶
View Source
const Version = "1.6.0"
Version is the current version of the application
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AvailableSkills ¶ added in v1.6.0
type AvailableSkills struct {
XMLName xml.Name `xml:"available_skills"`
Skills []SkillEntry `xml:"skill"`
}
AvailableSkills represents the XML structure for agent prompt integration
type CheckItem ¶ added in v1.2.0
type CheckItem struct {
Name string `json:"name"`
Status string `json:"status"` // "ok", "warning", "error"
Message string `json:"message"`
}
CheckItem represents a single check result
type DoctorReport ¶ added in v1.2.0
type DoctorReport struct {
Version string `json:"version"`
Results []DoctorResult `json:"results"`
Summary DoctorSummary `json:"summary"`
}
DoctorReport represents the complete health check report
type DoctorResult ¶ added in v1.2.0
type DoctorResult struct {
Category string `json:"category"`
Status string `json:"status"` // "ok", "warning", "error"
Message string `json:"message"`
Details []string `json:"details,omitempty"`
Children []CheckItem `json:"children,omitempty"`
}
DoctorResult represents the result of a health check
type DoctorSummary ¶ added in v1.2.0
type DoctorSummary struct {
TotalChecks int `json:"total_checks"`
PassedChecks int `json:"passed_checks"`
WarningChecks int `json:"warning_checks"`
FailedChecks int `json:"failed_checks"`
}
DoctorSummary provides overall statistics
type SkillEntry ¶ added in v1.6.0
type SkillEntry struct {
Name string `xml:"name"`
Description string `xml:"description"`
Location string `xml:"location"`
}
SkillEntry represents a single skill in the XML output
type SkillListItem ¶ added in v1.2.0
type SkillListItem struct {
Name string `json:"name"`
Description string `json:"description,omitempty"`
URL string `json:"url,omitempty"`
Scope string `json:"scope"`
Agent string `json:"agent,omitempty"`
Path string `json:"path,omitempty"`
}
SkillListItem represents a skill in the list output
Click to show internal directories.
Click to hide internal directories.