hooked/hooked-book/source/cli/run.md

412 B

Run

The run command manually runs configured hooks.

$ hooked run --help
Manually run hooks

Usage: hooked run [OPTIONS] <HOOK_TYPE>

Arguments:
  <HOOK_TYPE>  The hook type to run [possible values: pre-commit]

Options:
  -c, --config <CONFIG>  Path to a Hooked configuration [default: Hooked.toml]
  -h, --help             Print help information
  -V, --version          Print version information