import { type VersionHandler } from "https://deno.land/x/lume@v2.4.1/deps/cliffy.ts";
Version callback method to print the version.
Invoked by the --help
option command and the .getVersion()
and .showHelp()
methods.
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 : voidoptional
TCommand extends Command<TParentGlobals, TParentTypes, TOptions, TArguments, TGlobals, TTypes, TGlobalTypes, TParentCommand> = Command<TParentGlobals, TParentTypes, TOptions, TArguments, TGlobals, TTypes, TGlobalTypes, TParentCommand>