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.24.2/mod.ts";

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

Type Parameters

optional
O extends Record<string, any> | void = any
optional
A extends Array<unknown> = O extends number ? any : []
optional
G extends Record<string, any> | void = O extends number ? any : void
optional
PG extends Record<string, any> | void = O extends number ? any : void
optional
CT extends Record<string, any> | void = O extends number ? any : void
optional
GT extends Record<string, any> | void = O extends number ? any : void
optional
PT extends Record<string, any> | void = O extends number ? any : void
optional
P extends Command<any> | undefined = O extends number ? any : undefined
optional
C extends Command<PG, PT, O, A, G, CT, GT, P> = Command<PG, PT, O, A, G, CT, GT, P>
definition: (this: C, cmd: C) => string