Skip to main content

register

@quik/cli


@quik/cli / CommandStore / register

Function: register()

register(...commands): void

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

Register one or more commands.

Each constructor will be instantiated and stored by its command name.

Parameters

commands

...Constructor<IQCommand<any>>[]

Constructors for the commands to register.

Returns

void