LogoRobo.js
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

ParameterType
contextCliContext

Returns

boolean | void | Promise<boolean | void>

On this page