Skip to main content

HOOK_COMMAND_SLOT

Constant HOOK_COMMAND_SLOT 

Source
pub const HOOK_COMMAND_SLOT: &str = "__TAPES_HOOK_COMMAND__";
Expand description

Slot in HOOKS_MANIFEST_TEMPLATE that a consumer’s hook command line replaces. The slot is the entire JSON string value, so substitution is JSON-escaped by render_hooks_manifest; a consumer never edits the template text itself.