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

x/opinecli/deps.ts>Command#type

Opine's application generator
Latest
method Command.prototype.type
Re-export
import { Command } from "https://deno.land/x/opinecli@2.0.0/deps.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.