import { type IVersionHandler } from "https://deno.land/x/cliffy@v0.23.0/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
A extends Array<unknown> = O extends number ? any : []optional
G extends Record<string, any> | void = O extends number ? any : voidoptional
PG extends Record<string, any> | void = O extends number ? any : voidoptional
CT extends Record<string, any> | void = O extends number ? any : voidoptional
GT extends Record<string, any> | void = O extends number ? any : voidoptional
PT extends Record<string, any> | void = O extends number ? any : void