Expand description
A hook is an executable program called while executing a devlog command.
It allows users to customize devlog for their workflows.
Hooks are located in the hooks
subdirectory of the devlog repository.
Enums§
- Hook
Type - Defines the types of hooks a user can configure.
Functions§
- execute_
hook - Executes a hook command if available. If no hook is available (e.g. because the hook file is non-executable) then this is a no-op.
- hook_
cmd - Retrieves the executable hook command if it exists.
- init_
hooks - Creates template hook files in the specified repository. By default, the hook files are non-executable, which means they are disabled.