Skip to main content
Module

x/cliffy/command/mod.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.3/command/mod.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