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

x/cliffy/command/types.ts>TypeHandler

Command line framework for deno 🦕 Including Commandline-Interfaces, Prompts, CLI-Table, Arguments Parser and more...
Extremely Popular
Go to Latest
type alias TypeHandler
Re-export
import { type TypeHandler } from "https://deno.land/x/cliffy@v1.0.0-rc.1/command/types.ts";

Parse method for custom types. Gets the raw user input passed as argument and returns the parsed value.

Type Parameters

optional
TReturn = unknown
definition: (arg: ArgumentValue) => TReturn