[][src]Module devlog::hook

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

HookType

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.