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
import { Command } from "https://dotland.deno.dev/x/cliffy@v0.18.0/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.