GitHub - doubleleft/hook-cli: Commandline interface for hook applications.

Skip to content

Navigation Menu

Sign in

Appearance settings

hook-cli

hook commandline interface.

Bash completion

Use hook's bash completion by sourcing it in your .bashrc or .bash_profile.

Depending on where you installed hook-cli:

if [ -f /path/to/hook-cli/completions/hook.bash ]; then
  . /path/to/hook-cli/completions/hook.bash
fi

Alternatively, you can create a symbolic link under bash_completion.d:

ln -s /path/to/hook-cli/completions/hook.bash /path/to/bash_completion.d/hook

License

MIT