«БУДЬ НАЧЕКУ И СОБЛЮДАЙ ДИСЦИПЛИНУ!» Be vigilant and maintain strict discipline across all Git commands!

CLI Command Registry

Comprehensive reference for every command, option, and subcommand supported by the CCCP command line utility.

★ `cccp commit -i` / `cccp cz`

Interactive commit wizard. Prompts you step-by-step for commit type, optional scope, subject line, optional body, and breaking changes.

# Launch interactive wizard:
cccp cz
# or:
cccp commit -i

★ `cccp status`

Inspects the full operational state of your Git repository:

  • Branch status and upstream tracking.
  • Predictive development SemVer and commit count ahead of tag.
  • Hook synchronization status and installed hook versions.
  • Resolved configuration values from `.cccprc` and environment.
cccp status

★ `cccp lint []`

Validates commit messages across a git revision range (ideal for pull requests and CI workflows):

# Lint commits on current feature branch compared to main:
cccp lint origin/main..HEAD

# Lint the previous 3 commits:
cccp lint HEAD~3..HEAD

★ `cccp tag []`

Calculates the next version according to SemVer rules, updates VERSION, writes release notes in CHANGELOG.md, and creates a tagged commit:

# Predictive auto-bump:
cccp tag

# Explicit version with custom annotation:
cccp tag 2.3.0 --title "Stakhanovite Release" -m "Delivered ahead of quota"

★ `cccp push [...]`

Runs standard git push, enforces tag compliance via pre-push, and triggers automated post-push hooks.

cccp push origin main --tags

★ `cccp completion `

Generates native shell completion scripts for Bash, Zsh, and Fish:

# Bash (add to ~/.bashrc):
eval "$(cccp completion bash)"

# Zsh (add to ~/.zshrc before compinit):
eval "$(cccp completion zsh)"

# Fish:
cccp completion fish > ~/.config/fish/completions/cccp.fish

★ `cccp soviet`

Displays the official Soviet emblem, Gosplan Order No. 227 banner, and Stakhanovite labor guidelines:

cccp soviet