Skip to content

Latest commit

 

History

History
40 lines (27 loc) · 1.02 KB

camp_leverage_snapshot.md

File metadata and controls

40 lines (27 loc) · 1.02 KB

camp leverage snapshot

Capture current leverage state as a snapshot

Synopsis

Capture the current leverage state for all projects (or a specific project) and save as JSON snapshots for historical tracking.

Each snapshot includes scc metrics, computed leverage scores, and per-author LOC attribution from git blame.

Snapshots are stored in .campaign/leverage/snapshots//.json. Re-running on the same date overwrites the previous snapshot.

Examples: camp leverage snapshot Snapshot all projects camp leverage snapshot --project camp Snapshot specific project

camp leverage snapshot [flags]

Options

  -h, --help             help for snapshot
      --no-commit        skip the automatic commit of .campaign/leverage data
  -p, --project string   snapshot a specific project only

Options inherited from parent commands

      --no-color   disable colored output

SEE ALSO

  • camp leverage - Compute leverage scores for a repository or camp