Package Exports
- @aida-dev/cli
- @aida-dev/cli/dist/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@aida-dev/cli) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
@aida/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