Documentation
¶
Overview ¶
Package status implements the `supermodel status` command, which prints the current authentication state, config path, API endpoint, and local cache inventory.
This is a vertical slice. It must not import any other slice package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Options ¶
type Options struct {
Output string // "human" | "json"
}
Options configures the status command.
type Report ¶
type Report struct {
Version string `json:"version"`
Authed bool `json:"authenticated"`
APIBase string `json:"api_base"`
ConfigPath string `json:"config_path"`
CacheDir string `json:"cache_dir"`
CacheCount int `json:"cached_analyses"`
CacheSizeBytes int64 `json:"cache_size_bytes"`
LastAnalysis time.Time `json:"last_analysis,omitempty"`
}
Report holds all status information.
Click to show internal directories.
Click to hide internal directories.