CLI Reference
Complete reference for every command in the Prume CLI. All commands support --help for inline documentation.
24 commands across 4 categories. Use the cards above to jump to a section, or scroll through the full reference below.
Core Workflow
9 cmdsprume init
Initialize Prume in a Git repository. Creates the prume-staging/ directory and scans the repo.
Options
--nameProject name--base-refBase branch (default: main)--target-refTarget branch--pathPath to repo (default: current directory)--init-gitRun git init first if not a Git repoprume analyze
Analyze Git changes and extract change units (hunks). Each hunk becomes a separately assignable unit.
Options
--uncommitted, -uAnalyze uncommitted working directory changes--base, -bBase ref for branch comparison (default: config base_ref)--target, -tTarget ref for comparison--repairRepair broken change unit references--pathPath to repoprume classify
Classify change units into groups using the multi-layer rule engine (file paths, content, keywords, regex).
Options
--auto, -aRun all classification layers--assignAssign results to groups--thresholdMinimum confidence score to assign (default from config)--pathPath to repoprume status
Show project status: change units, groups, workflow state, and assignment coverage.
Options
--pathPath to repoprume stage
Stage a group’s change units to the Git index for committing. Operates at hunk-level precision.
Options
--all, -aStage all groups--force, -fForce staging even with warnings--interactive, -iInteractive selection of change units--dry-run, -nShow what would be staged--backup, -bCreate backup before staging--atomicAtomic staging (all or nothing)--validate-firstRun validation before staging--pathPath to repoprume commit
Commit a staged group. Uses the group’s configured message.
Options
--all, -aCommit all staged groups--message, -mOverride commit message--dry-run, -nShow what would be committed--verbose, -vVerbose output--pathPath to repoprume stage-all
Stage and optionally commit all groups in dependency order. Interactive by default.
Options
--resume-from, -rResume from a specific group--dry-run, -dShow plan without executing--skip-confirm, -ySkip confirmation prompts--commit, -cCommit each group after stagingprume apply
Apply all groups as commits to a new branch. Alternative to stage-all for creating a clean branch.
Options
--to, -tTarget branch name--from, -fSource branch--dry-run, -nShow plan without executing--pathPath to repoprume extract
Extract a branch’s committed changes back into uncommitted local changes for re-organizing.
Options
--base, -bBase branch (default: main)--clean-branch, -cCreate a clean branch for the result--force, -fForce even with uncommitted changes--pathPath to repoInspection
5 cmdsprume diff
View diffs for change units — all, by group, by file, or unassigned only.
Options
--group, -gShow diff for a specific group--file, -fShow diff for a specific file--unassigned, -uShow only unassigned change units--context, -CNumber of context lines in diff--stat, -sShow diffstat summary--color / --no-colorEnable or disable colored outputprume show
Show details for a single change unit: file, hunk, group assignment, diff.
Options
--rawShow raw internal dataprume stats
Show project statistics and analytics.
Options
--detailed, -dDetailed breakdown--jsonOutput as JSON--pathPath to repoprume changeunits
List change units in a format suitable for scripting and AI tools.
Options
--jsonOutput as JSON--unassigned, -uShow only unassigned change units--file, -fFilter by file path--compact, -cCompact output for AI context windows--pathPath to repoprume validate
Validate project integrity: missing change units, circular dependencies, overlapping assignments.
Group Management
4 cmdsprume groups
Manage groups (logical commit containers).
Subcommands
listList all groupsshow <id>Show group detailscreate <name>Create a new groupdelete <id>Delete a grouprename <id> <name>Rename a groupmessage <id>Set/edit group commit messageadd <id> <cu_ids...>Add change units to a groupremove <id> <cu_ids...>Remove change units from a groupmerge <source> <target>Merge two groupssplit <id>Split a group interactivelyauto-split <id>Auto-split a group by file clustersstash <id>Stash a group (hide without deleting)unstash <id>Restore a stashed groupmove <id>Move change units between groupsdependencies <id>Show or set group dependenciesanalyze-depsAnalyze file-level dependencies across groupsreorderReorder groups for commit sequenceprume assign
Assign change units to a group by file, pattern, or interactively.
Options
--file, -fAssign by file path (repeatable)--pattern, -pAssign by glob pattern--unassigned-only, -uOnly consider unassigned change units--interactive, -iInteractive assignment--pathPath to repoprume reset
Reset Prume state. Clears change units and optionally groups.
Options
--force, -fSkip confirmation--keep-groupsReset change units but keep groups--pathPath to repoprume purge
Remove committed groups and their change units from Prume state.
Options
--dry-run, -nShow what would be purged--force, -fSkip confirmation--pathPath to repoUtilities
6 cmdsprume export
Export Prume data for backup or sharing.
Subcommands
groupsExport groups as JSON (-o, --include-changeunits)fullFull project export (-o required)prume import
Import groups from a JSON file.
Options
--merge, -mMerge with existing groups instead of replacing--dry-run, -nPreview without importing--pathPath to repoprume config
View and manage Prume configuration.
Subcommands
showShow current config (merged global + local)initCreate a config file (--global for ~/.config/prume/)set <key> <value>Set a config valueprume git
Git index management: verify consistency, sync, backup/restore.
Subcommands
statusGit index status (--json, --verbose, --check)verifyVerify index integritysyncSync Prume state with Git indexresetReset Git index (--groups-only, --index-only)repairRepair index issuesbackupCreate a backup (-o, --with-state)restoreRestore from backup (--with-state, --force)diagnoseDiagnose issues (-o, --include-diffs)backupsList available backupsprume doctor
Check system requirements and Prume configuration. Optionally fix issues.
Options
--fixAttempt to fix detected issuesprume completions
Set up shell completions for bash, zsh, or fish.
Pro Commands
ProPrume Pro extends the CLI with additional commands. Install with pip install prume-pro. See the Pro Features page for details.
prume ui
Launch the Web UI
prume suggest
AI grouping suggestions
prume auto-assign
Auto-assign by similarity
prume license
Manage license keys
prume jira
Jira integration
prume stack-pr
Stacked PRs
prume graphite
Graphite PR management
prume pr
PR description utilities
prume branch
Create branch per group
prume jetbrains
JetBrains changelists
prume migrate
Migrate from git-staging-groups