Skip to main content
Module

x/cliffy/mod.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
Re-export
import { type IVersionHandler } from "https://deno.land/x/cliffy@v0.19.2/mod.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