Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/lume/deps/cliffy.ts>VersionHandler

🔥 Static site generator for Deno 🦕
Very Popular
Latest
type alias VersionHandler
Re-export
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
TOptions extends Record<string, any> | void = any
optional
TArguments extends Array<unknown> = TOptions extends number ? any : []
optional
TGlobals extends Record<string, any> | void = TOptions extends number ? any : void
optional
TParentGlobals extends Record<string, any> | void = TOptions extends number ? any : void
optional
TTypes extends Record<string, any> | void = TOptions extends number ? any : void
optional
TGlobalTypes extends Record<string, any> | void = TOptions extends number ? any : void
optional
TParentTypes extends Record<string, any> | void = TOptions extends number ? any : void
optional
TParentCommand extends Command<any> | undefined = TOptions extends number ? any : undefined
definition: (this: TCommand, cmd: TCommand) => string