CLI Reference
ProGit provides a comprehensive CLI for scripting, automation, and terminal users who prefer commands over the TUI.
Global Options
Section titled “Global Options”These work with any command:
progit --version # Show versionprogit --help # Show helpprogit --config path/to/config.toml # Use custom configprogit --verbose # Verbose outputprogit --quiet # Suppress outputCore Commands
Section titled “Core Commands”progit init
Section titled “progit init”Initialize a new ProGit project.
progit init # Initialize in current directoryprogit init /path/to/project # Initialize in specific directoryprogit init --template=rust # Use a project templateprogit tui
Section titled “progit tui”Launch the terminal UI (GroGit).
progit tui # Start TUIprogit tui --panel=issues # Start in issues panelprogit tui --issue=42 # Open specific issueAliases: pgit, progit ui
Issue Commands
Section titled “Issue Commands”progit issue
Section titled “progit issue”Issue tracking commands.
# List issuesprogit issue listprogit issue list --status=openprogit issue list --label=bug --priority=highprogit issue list --sprint=current
# Create issueprogit issue create "Fix memory leak"progit issue create "Add feature" --label=enhancement --priority=mediumprogit issue create --file=issue-template.md
# View issueprogit issue show 42progit issue show 42 --format=json
# Edit issueprogit issue edit 42progit issue edit 42 --title="New title"progit issue edit 42 --status=closed
# Delete issueprogit issue delete 42progit issue delete 42 --force
# Link to gitprogit issue link 42 --branch=feature-42progit issue link 42 --commit=a1b2c3d
# Move to sprintprogit issue sprint 42 --sprint=sprint-12progit issue sprint 42 --remove
# Searchprogit issue search "memory leak"progit issue search --assignee=@me --status=openKanban Commands
Section titled “Kanban Commands”progit kanban
Section titled “progit kanban”Kanban board management.
# View boardprogit kanbanprogit kanban --format=json
# Move cardsprogit kanban move 42 "In Progress"progit kanban move 42 --to-column=done
# Add cardprogit kanban add "New task"progit kanban add "New task" --column="Todo" --priority=high
# Remove cardprogit kanban remove 42
# Column managementprogit kanban column add "Review"progit kanban column remove "Review"progit kanban column rename "Todo" "Backlog"Sprint Commands
Section titled “Sprint Commands”progit sprint
Section titled “progit sprint”Sprint planning and tracking.
# List sprintsprogit sprint listprogit sprint list --status=active
# Create sprintprogit sprint create "Sprint 12"progit sprint create "Sprint 12" --weeks=2 --goal="Complete API"
# Show sprintprogit sprint show currentprogit sprint show sprint-12
# Start/completeprogit sprint start sprint-12progit sprint complete sprint-12
# Add/remove issuesprogit sprint add sprint-12 42 43 44progit sprint remove sprint-12 42
# Reportsprogit sprint velocityprogit sprint burndownprogit sprint report --format=htmlBranch Commands
Section titled “Branch Commands”progit branch
Section titled “progit branch”Git branch and virtual branch management.
# List branchesprogit branch listprogit branch list --remoteprogit branch list --virtual
# Create branchprogit branch create feature-xprogit branch create feature-x --from=main
# Virtual branchesprogit branch virtual feature-xprogit branch virtual feature-x --from-issue=42progit branch switch feature-xprogit branch commit feature-x --to-branch=mainprogit branch delete feature-x
# Git operationsprogit branch merge feature-xprogit branch rebase feature-x --onto=mainGit Commands
Section titled “Git Commands”progit git
Section titled “progit git”Pass-through to git with ProGit enhancements.
# Enhanced commit (links to issues)progit git commit -m "Fix parser"progit git commit -m "Fix parser" --issue=42
# Status with ProGit contextprogit git statusprogit git status --show-virtual-branches
# All other git commands pass throughprogit git pushprogit git pullprogit git log --onelinePlugin Commands
Section titled “Plugin Commands”progit plugin
Section titled “progit plugin”Plugin management.
# List pluginsprogit plugin listprogit plugin list --installedprogit plugin list --available
# Install pluginprogit plugin install my-pluginprogit plugin install /path/to/plugin.luaprogit plugin install https://shop.progit.dev/plugins/my-plugin
# Enable/disableprogit plugin enable my-pluginprogit plugin disable my-plugin
# Removeprogit plugin remove my-plugin
# Create new pluginprogit plugin create my-plugin --template=hello-worldAI Commands
Section titled “AI Commands”progit ai
Section titled “progit ai”AI agent integration.
# Ask AIprogit ai "suggest commit message for these changes"progit ai "explain this error: segmentation fault"progit ai "refactor this function to use async"
# With contextprogit ai "review this code" --file=src/main.rsprogit ai "summarize issue" --issue=42
# Pre-defined actionsprogit ai commit-message # Suggest commit messageprogit ai code-review # Review staged changesprogit ai fix-errors # Fix compilation errorsprogit ai generate-tests # Generate test casesSync Commands
Section titled “Sync Commands”progit sync
Section titled “progit sync”Synchronize with remote forges.
# Sync everythingprogit sync
# Sync specific itemsprogit sync --issuesprogit sync --sprintsprogit sync --mrs
# Dry runprogit sync --dry-run
# Force sync (overwrite remote)progit sync --force
# Configure syncprogit sync config --remote=gitlabprogit sync config --auto=trueConfig Commands
Section titled “Config Commands”progit config
Section titled “progit config”Configuration management.
# Get/set valuesprogit config get ui.themeprogit config set ui.theme light
# Edit configprogit config edit
# Validateprogit config check
# Show defaultsprogit config defaults
# Global configprogit config --global set user.name "Jane Doe"progit config --global set user.email "jane@example.com"Import/Export
Section titled “Import/Export”progit export
Section titled “progit export”Export project data.
progit export --format=jsonprogit export --format=json --output=backup.jsonprogit export --issues --format=csvprogit export --sprints --format=htmlprogit import
Section titled “progit import”Import project data.
progit import backup.jsonprogit import --from=jira jira-export.xmlprogit import --from=github github-issues.jsonHook Commands
Section titled “Hook Commands”progit hook
Section titled “progit hook”Manage git hooks.
# List hooksprogit hook list
# Add hookprogit hook add pre-commit "cargo test"progit hook add post-commit "progit sync"
# Remove hookprogit hook remove pre-commit 2
# Run hook manuallyprogit hook run pre-commitUtility Commands
Section titled “Utility Commands”progit doctor
Section titled “progit doctor”Diagnose project health.
progit doctor # Full health checkprogit doctor --fix # Auto-fix issuesprogit doctor --issues # Check issues onlyprogit stats
Section titled “progit stats”Project statistics.
progit stats # General statsprogit stats --velocity # Velocity metricsprogit stats --git # Git statisticsprogit stats --contributorsEnvironment Variables
Section titled “Environment Variables”ProGit respects these environment variables:
PROGIT_CONFIG # Path to config filePROGIT_DATA_DIR # Data directory overridePROGIT_EDITOR # Editor for interactive commandsPROGIT_PAGER # Pager for outputPROGIT_NO_COLOR # Disable colorsPROGIT_DEBUG # Enable debug loggingOLLAMA_HOST # Ollama server URLShell Completion
Section titled “Shell Completion”Generate shell completion scripts:
progit completion bash > ~/.bash_completion.d/progitprogit completion zsh > ~/.zsh/completions/_progitprogit completion fish > ~/.config/fish/completions/progit.fishJSON Output
Section titled “JSON Output”Most commands support JSON output for scripting:
progit issue list --format=json | jq '.[] | select(.priority == "high")'progit sprint show current --format=json | jq '.velocity'