Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

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