Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Latest
type alias Cliffy.IVersionHandler
Re-export
import { type Cliffy } from "https://deno.land/x/dmm@v2.1.2/tests/integration/up-to-date-deps/deps.ts";
const { IVersionHandler } = Cliffy;

Version callback method to print the version. Invoked by the --help option command and the .getVersion() and .showHelp() method's.

Type Parameters

optional
O extends Record<string, any> | void = any
optional
A extends Array<unknown> = any
optional
G extends Record<string, any> | void = any
optional
PG extends Record<string, any> | void = any
optional
P extends Command | undefined = any
optional
C extends Command<O, A, G, PG, P> = Command<O, A, G, PG, P>
definition: (this: C, cmd: C) => string