View or update leverage configuration
View or update leverage score configuration settings.
Without flags, displays the current configuration. With flags, updates the configuration and saves it to .campaign/leverage/config.json.
Configuration parameters: --people Number of developers on the team --start Project start date (YYYY-MM-DD format) --cocomo-type COCOMO project type (organic, semi-detached, embedded) --exclude Exclude a project from leverage scoring --include Include a previously excluded project --autocommit Commit .campaign/leverage data automatically (default true)
Examples: camp leverage config Show current config camp leverage config --people 3 Set team size to 3 camp leverage config --start 2025-01-01 Set project start date camp leverage config --exclude obey-daemon Exclude a project camp leverage config --include obey-daemon Re-include a project camp leverage config --autocommit=false Stop auto-committing leverage data
camp leverage config [flags]
--author-email string default author email for personal leverage (empty = team view)
--autocommit commit .campaign/leverage data automatically after leverage commands (default true)
--cocomo-type string COCOMO project type (organic, semi-detached, embedded)
--exclude string exclude a project from leverage scoring
-h, --help help for config
--include string include a previously excluded project
--no-commit skip the automatic commit of .campaign/leverage data
--people int number of developers on the team (0 = auto-detect from git)
--start string project start date (YYYY-MM-DD)
--no-color disable colored output
- camp leverage - Compute leverage scores for a repository or camp