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

x/cliffy/command/mod.ts>Command#type

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

Register custom type.

Parameters

name: string

The name of the type.

handler: Type<unknown> | ITypeHandler<unknown>

The callback method to parse the type.

optional
options: ITypeOptions

Type options.