Skip to content

gunshi / default / CommandRunner

Type Alias: CommandRunner()<Options> ​

ts
type CommandRunner<Options> = (ctx) => Awaitable<void>;

Command runner.

Type Parameters ​

Type ParameterDefault type
Options extends ArgOptionsArgOptions

Parameters ​

ParameterTypeDescription
ctxReadonly<CommandContext<Options>>A command context

Returns ​

Awaitable<void>

Released under the MIT License.