Skip to main content

Interface: GetHookInstructions

Defined in: packages/core/src/application/use-cases/get-hook-instructions.ts:33

Returns instruction text for instruction: hooks at a given step and phase.

Read-only — never executes commands or modifies state.

Methods

execute()

execute(input): Promise<GetHookInstructionsResult>

Defined in: packages/core/src/application/use-cases/get-hook-instructions.ts:65

Returns instruction text for instruction: hooks at the given step and phase.

Parameters

input

GetHookInstructionsInput

The step name, phase, and optional hook filter

Returns

Promise<GetHookInstructionsResult>

The phase and collected instruction texts