Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/alloy/deps.ts>cliffy.IHelpHandler

An application installer for restriced macOS
Latest
type alias cliffy.IHelpHandler
Re-export
import { type cliffy } from "https://deno.land/x/alloy@v0.0.9/deps.ts";
const { IHelpHandler } = cliffy;

Help callback method to print the help. Invoked by the --help option and help command and the .getHelp() and .showHelp() method's.

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,
options: HelpOptions,
) => string