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.
Defines the types of hooks a user can configure.
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.
Retrieves the executable hook command if it exists.
Creates template hook files in the specified repository. By default, the hook files are non-executable, which means they are disabled.