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
| Command | Description |
|---|---|
completion | Generate the autocompletion script for the specified shell. |
help | Help about any command for crisp. |
message | Lint a Git commit message using crisp. |
version | Print the version and build information of crisp. |
completion
The crisp completion subcommand provides the following arguments and the
purposes they fulfill.
| Subcommand | Description |
|---|---|
bash | Generate the autocompletion script for Bash. |
fish | Generate the autocompletion script for Fish. |
powershell | Generate the autocompletion script for PowerShell. |
zsh | Generate the autocompletion script for Zsh. |
TODO: Add some examples of its usage.
help
Print a helpful usage message of a command/subcommand.
Examples:
crisp help versioncrisp help messagemessage
Lint a Git commit message using this command in accordance to the Conventional Commits v1.0.0 specification.
Examples:
crisp message "chore: fix an annoying bug"echo "feat: add an amazing feature" | crisp message --stdinversion
Print valuable build and version information of Crisp to STDOUT useful for
debugging purposes mostly.
Examples:
crisp version