Skip to content

gunshi / default / CommandResource

Type Alias: CommandResource<G>

ts
type CommandResource<G> = object & { [Arg in GenerateNamespacedKey<KeyOfArgs<RemovedIndex<G["args"]>>, typeof ARG_PREFIX>]: string } & object;

Command resource.

Type declaration

description

ts
description: string;

Command description.

examples

ts
examples: string | CommandExamplesFetcher<G>;

Examples usage.

Type Parameters

Type ParameterDefault type
G extends GunshiParams<any>DefaultGunshiParams

Released under the MIT License.