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

x/lume/deps/cliffy.ts>Command#globalType

🔥 Static site generator for Deno 🦕
Very Popular
Go to Latest
method Command.prototype.globalType
Re-export
import { Command } from "https://deno.land/x/lume@v1.18.4/deps/cliffy.ts";

Type Parameters

THandler extends TypeOrTypeHandler<unknown>
optional
TName extends string = string

Parameters

name: TName
handler: THandler
optional
options: Omit<TypeOptions, "global">

Returns

Command<TParentCommandGlobals, TParentCommandTypes, TCommandOptions, TCommandArguments, TCommandGlobals, TCommandTypes, Merge<TCommandGlobalTypes, TypedType<TName, THandler>>, TParentCommand>