Module

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

🔥 Static site generator for Deno 🦕
Very Popular
Latest
method Command.prototype.globalType
import { Command } from "https://dotland.deno.dev/x/lume@v2.4.2/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>