Administration
scc stats
Section titled “scc stats”View and export usage statistics.
scc stats [OPTIONS]scc stats export [OPTIONS]scc stats aggregate [OPTIONS] FILES...Options (main command):
| Option | Description |
|---|---|
-d, --days N | Filter to last N days |
Subcommands:
stats export
Section titled “stats export”Export statistics as JSON.
| Option | Description |
|---|---|
--json, -j | Output as JSON |
--raw, -r | Export raw event data |
-d, --days N | Filter to last N days |
-o, --output PATH | Output file path |
stats aggregate
Section titled “stats aggregate”Aggregate multiple stats files (for team leads).
| Option | Description |
|---|---|
-o, --output PATH | Output file path |
FILES... | Stats files to aggregate |
Examples:
# View all-time statisticsscc stats
# View last 7 daysscc stats --days 7# Export as JSONscc stats export --json
# Export last 30 days to filescc stats export --days 30 --output stats.json
# Export raw eventsscc stats export --raw --output events.json# Aggregate team statsscc stats aggregate team1.json team2.json --output combined.jsonscc support bundle
Section titled “scc support bundle”Generate a diagnostic bundle for troubleshooting.
scc support bundle [OPTIONS]Options:
| Option | Description |
|---|---|
-o, --output PATH | Output path for the bundle zip file |
--json | Output manifest as JSON instead of creating zip |
--pretty | Pretty-print JSON output (implies --json) |
--no-redact-paths | Don’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:
# Generate support bundlescc support bundle
# Save to specific locationscc support bundle --output ~/Desktop/scc-support.zip# Output manifest as JSON (no zip)scc support bundle --json
# Pretty-print JSONscc support bundle --prettyscc prune
Section titled “scc prune”Remove stopped SCC containers.
scc prune [OPTIONS]Options:
| Option | Description |
|---|---|
-y, --yes | Skip confirmation prompt |
--dry-run | Preview what would be removed |
Examples:
# Show stopped containers and confirm removalscc prune# Preview what would be removedscc prune --dry-run
# Remove without confirmation (CI/scripts)scc prune --yesFile Locations
Section titled “File Locations”| File | Purpose |
|---|---|
~/.config/scc/stats/ | Usage statistics storage |
~/.config/scc/config.json | User configuration |
~/.cache/scc/ | Cached data (safe to delete) |