plexus.cli.metrics.commands module
CLI commands for metrics aggregation.
Commands: - show: Display aggregated metrics for a time range - verify: Compare computed counts vs stored values (read-only) - update: Recompute and update aggregated metrics
- plexus.cli.metrics.commands.get_account_id_from_env(client: PlexusDashboardClient) str
Get account ID from PLEXUS_ACCOUNT_KEY environment variable.
- Args:
client: The API client
- Returns:
Account ID
- Raises:
ValueError: If PLEXUS_ACCOUNT_KEY is not set or account not found