Skip to content

Administration

View and export usage statistics.

Terminal window
scc stats [OPTIONS]
scc stats export [OPTIONS]
scc stats aggregate [OPTIONS] FILES...

Options (main command):

OptionDescription
-d, --days NFilter to last N days

Subcommands:

Export statistics as JSON.

OptionDescription
--json, -jOutput as JSON
--raw, -rExport raw event data
-d, --days NFilter to last N days
-o, --output PATHOutput file path

Aggregate multiple stats files (for team leads).

OptionDescription
-o, --output PATHOutput file path
FILES...Stats files to aggregate

Examples:

Terminal window
# View all-time statistics
scc stats
# View last 7 days
scc stats --days 7

Generate a diagnostic bundle for troubleshooting.

Terminal window
scc support bundle [OPTIONS]

Options:

OptionDescription
-o, --output PATHOutput path for the bundle zip file
--jsonOutput manifest as JSON instead of creating zip
--prettyPretty-print JSON output (implies --json)
--no-redact-pathsDon’t redact home directory paths

What’s included:

  • System information (platform, Python version)
  • CLI configuration (secrets automatically redacted)
  • Doctor output (health check results)
  • Diagnostic information

Examples:

Terminal window
# Generate support bundle
scc support bundle
# Save to specific location
scc support bundle --output ~/Desktop/scc-support.zip

Remove stopped SCC containers.

Terminal window
scc prune [OPTIONS]

Options:

OptionDescription
-y, --yesSkip confirmation prompt
--dry-runPreview what would be removed

Examples:

Terminal window
# Show stopped containers and confirm removal
scc prune

FilePurpose
~/.config/scc/stats/Usage statistics storage
~/.config/scc/config.jsonUser configuration
~/.cache/scc/Cached data (safe to delete)