Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/proc/tools/deps/cliffy.ts>TypeHandler

A better way to work with processes in Deno.
Go to Latest
type alias TypeHandler
Re-export
import { type TypeHandler } from "https://deno.land/x/proc@0.21.9/tools/deps/cliffy.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