Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var StatsCmd = &cobra.Command{
Use: "stats",
Short: "View CLI download statistics",
Long: `View download statistics for the playconsole-cli tool itself.
This tracks downloads from GitHub releases and shows distribution
across platforms and versions.`,
}
StatsCmd is the root command for CLI statistics
Functions ¶
This section is empty.
Types ¶
type DownloadSource ¶
type DownloadSource struct {
Name string `json:"name"`
Tracked bool `json:"tracked"`
Description string `json:"description"`
Command string `json:"command,omitempty"`
}
DownloadSource represents a download source
type DownloadStats ¶
type DownloadStats struct {
Total int64 `json:"total"`
ByRelease []api.ReleaseDownloads `json:"by_release,omitempty"`
ByPlatform []api.PlatformDownloads `json:"by_platform,omitempty"`
LastUpdated string `json:"last_updated"`
}
DownloadStats represents overall download statistics
Click to show internal directories.
Click to hide internal directories.