Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

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

A simple but powerful TypeScript-based dot-file manager.
Go to Latest
method cliffy.Command.prototype.globalType
Re-export
import { cliffy } from "https://deno.land/x/powar@1.0.2/deps.ts";
const { Command } = cliffy;

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>