Skip to content

Command-Line Interface (CLI) Reference

Crisp as a CLI tool is intentionally simple and straightforward to use. Its simplicity is one of the core design principles of the tool. This section of the documentation provides a detailed reference of the commands available for crisp.

While this section exists for convenient reference in your browser, it is recommended to use the help command for quick reference instead.

Reference

CommandDescription
completionGenerate the autocompletion script for the specified shell.
helpHelp about any command for crisp.
messageLint a Git commit message using crisp.
versionPrint the version and build information of crisp.

completion

The crisp completion subcommand provides the following arguments and the purposes they fulfill.

SubcommandDescription
bashGenerate the autocompletion script for Bash.
fishGenerate the autocompletion script for Fish.
powershellGenerate the autocompletion script for PowerShell.
zshGenerate the autocompletion script for Zsh.

TODO: Add some examples of its usage.

help

Print a helpful usage message of a command/subcommand.

Examples:

Terminal window
crisp help version
Terminal window
crisp help message

message

Lint a Git commit message using this command in accordance to the Conventional Commits v1.0.0 specification.

Examples:

Terminal window
crisp message "chore: fix an annoying bug"
Terminal window
echo "feat: add an amazing feature" | crisp message --stdin

version

Print valuable build and version information of Crisp to STDOUT useful for debugging purposes mostly.

Examples:

Terminal window
crisp version