@aida-dev/cli
v0.1.1
Published
Command-line interface for AIDA (AI Development Accounting) metrics.
Readme
@aida-dev/cli
Command-line interface for AIDA (AI Development Accounting) metrics.
Installation
pnpm install
pnpm buildUsage
Basic workflow
# Collect commits from last 90 days
aida collect --since 90d
# Analyze collected data
aida analyze
# Generate reports
aida report --format bothCommands
aida collect
Collect commits and generate commit-stream.json
Options:
--repo <path>- Repository path (default: current directory)--since <date>- Start date (ISO or relative like 90d)--until <date>- End date (ISO or relative)--ai-pattern <pattern>- Custom AI detection pattern (repeatable)--default-branch <name>- Default branch name (auto-detect if omitted)--out-dir <path>- Output directory (default: ./aida-output)--verbose- Verbose logging
aida analyze
Analyze commit stream and generate metrics.json
aida report
Generate human-readable reports from metrics
Options:
--format <format>- Output format: json, md, both (default: both)
Output Files
commit-stream.json- Normalized commit data with AI taggingmetrics.json- Calculated merge ratio and persistence metricsreport.json- JSON report (same as metrics.json)report.md- Human-readable Markdown report
