Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ReportCmd = &cobra.Command{
Use: "report",
Short: "Generate a full project report",
Long: `Export a comprehensive project report with apps, products, entitlements, offerings, packages, and metrics into HTML, JSON, or YAML.`,
RunE: runReport,
}
ReportCmd exports a full project report
Functions ¶
This section is empty.
Types ¶
type EntitlementData ¶
type OfferingData ¶
type OfferingData struct {
ID string `json:"id" yaml:"id"`
LookupKey string `json:"lookup_key" yaml:"lookup_key"`
DisplayName string `json:"display_name" yaml:"display_name"`
IsCurrent bool `json:"is_current" yaml:"is_current"`
Packages []PackageData `json:"packages" yaml:"packages"`
}
type PackageData ¶
type ProductData ¶
type ProjectReport ¶
type ProjectReport struct {
GeneratedAt string `json:"generated_at" yaml:"generated_at"`
ProjectID string `json:"project_id" yaml:"project_id"`
Summary ReportSummary `json:"summary" yaml:"summary"`
Apps []AppData `json:"apps" yaml:"apps"`
Products []ProductData `json:"products" yaml:"products"`
Entitlements []EntitlementData `json:"entitlements" yaml:"entitlements"`
Offerings []OfferingData `json:"offerings" yaml:"offerings"`
}
type ReportSummary ¶
type ReportSummary struct {
TotalApps int `json:"total_apps" yaml:"total_apps"`
TotalProducts int `json:"total_products" yaml:"total_products"`
TotalEntitlements int `json:"total_entitlements" yaml:"total_entitlements"`
TotalOfferings int `json:"total_offerings" yaml:"total_offerings"`
TotalPackages int `json:"total_packages" yaml:"total_packages"`
ActiveSubscribers int `json:"active_subscribers" yaml:"active_subscribers"`
ActiveTrials int `json:"active_trials" yaml:"active_trials"`
MRR float64 `json:"mrr" yaml:"mrr"`
Revenue float64 `json:"revenue" yaml:"revenue"`
}
Click to show internal directories.
Click to hide internal directories.