Skip to main content

execute

@quik/cli


@quik/cli / CommandStore / execute

Function: execute()

execute<T>(command, args?): Promise<void>

Defined in: cli/src/store.ts:67

Execute a registered command.

Type Parameters​

T​

T = any

Shape of the argument object.

Parameters​

command​

string

Name of the command to execute.

args?​

T

Optional argument object passed to the command handler.

Returns​

Promise<void>