Skip to content

gunshi / default / CommandResource

Type Alias: CommandResource<Options>

ts
type CommandResource<Options> = object & { [Option in GenerateNamespacedKey<keyof RemovedIndex<Options>, typeof OPTION_PREFIX>]: string } & object;

Command resource.

Type declaration

description

ts
description: string;

Command description.

examples

ts
examples: string;

Examples usage.

Type Parameters

Type ParameterDefault type
Options extends ArgOptionsArgOptions

Released under the MIT License.