Module

x/cliffy/command/command.ts>Command#globalType

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

Type Parameters

H extends TypeOrTypeHandler<unknown>
optional
N extends string = string

Parameters

name: N
handler: H
optional
options: Omit<ITypeOptions, "global">

Returns

Command<CPG, CPT, CO, CA, CG, CT, Merge<CGT, TypedType<N, H>>, CP>