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 Parameter | Default type |
|---|---|
Options extends ArgOptions | ArgOptions |
