Skip to main content
Deno 2 is finally 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.20.33/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