Skip to content

gunshi / default / CommandRunner

Type Alias: CommandRunner()<A>

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

Command runner.

Type Parameters

Type ParameterDefault type
A extends ArgsArgs

Parameters

ParameterTypeDescription
ctxReadonly<CommandContext<A>>A command context

Returns

Awaitable<void>

Released under the MIT License.