Skip to main content
Module

x/cliffy/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.19.2/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.