Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Latest
method Cliffy.Command.prototype.type
Re-export
import { Cliffy } from "https://deno.land/x/dmm@v2.1.2/tests/integration/up-to-date-deps/original_deps.ts";
const { Command } = Cliffy;

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.