import { type ActionHandler } from "https://deno.land/x/cliffy@v1.0.0-rc.2/command/mod.ts";
Action handler for commands and options.
Type Parameters
optional
TArguments extends Array<unknown> = TOptions extends number ? any : []optional
TGlobals extends Record<string, any> | void = TOptions extends number ? any : voidoptional
TParentGlobals extends Record<string, any> | void = TOptions extends number ? any : voidoptional
TTypes extends Record<string, any> | void = TOptions extends number ? any : voidoptional
TGlobalTypes extends Record<string, any> | void = TOptions extends number ? any : voidoptional
TParentTypes extends Record<string, any> | void = TOptions extends number ? any : voiddefinition: () => unknown
this: Command<TParentGlobals, TParentTypes, TOptions, TArguments, TGlobals, TTypes, TGlobalTypes, TParentCommand>,
options: CommandOptions<TOptions, TGlobals, TParentGlobals>,
...args: MapTypes<TArguments>,