Module

x/cliffy/command/types.ts>IVersionHandler

Command line framework for deno 🦕 Including Commandline-Interfaces, Prompts, CLI-Table, Arguments Parser and more...
Extremely Popular
Go to Latest
type alias IVersionHandler
import { type IVersionHandler } from "https://dotland.deno.dev/x/cliffy@v0.19.2/command/types.ts";

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