import { type ActionHandler } from "https://dotland.deno.dev/x/lume@v2.4.2/deps/cliffy.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 | Promise<unknown>
this: Command<TParentGlobals, TParentTypes, TOptions, TArguments, TGlobals, TTypes, TGlobalTypes, TParentCommand>,
options: MapTypes<Merge<TParentGlobals, Merge<TGlobals, TOptions>>>,
...args: MapTypes<TArguments>,