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

x/cliffy/mod.ts>BaseCommand#type

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

Register command specific custom type.

Parameters

type: string
typeHandler: Type<any> | ITypeHandler<any>
optional
override: boolean