Framework
CliBeforeHook()
Type Alias: CliBeforeHook()
type CliBeforeHook = (context) => boolean | void | Promise<boolean | void>;Hook that runs before the original command handler. Return false to abort the command execution.
Parameters
| Parameter | Type |
|---|---|
context | CliContext |
Returns
boolean | void | Promise<boolean | void>
