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

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

A better way to work with processes in Deno.
Go to Latest
type alias IOption
Deprecated
Deprecated

Use Option instead.

import { type IOption } from "https://deno.land/x/proc@0.20.43/tools/deps/cliffy.ts";

Type Parameters

optional
O extends Record<string, any> | void = any
optional
A extends Array<unknown> = O extends number ? any : []
optional
G extends Record<string, any> | void = O extends number ? any : void
optional
PG extends Record<string, any> | void = O extends number ? any : void
optional
CT extends Record<string, any> | void = O extends number ? any : void
optional
GT extends Record<string, any> | void = O extends number ? any : void
optional
PT extends Record<string, any> | void = O extends number ? any : void
optional
P extends Command<any> | undefined = O extends number ? any : undefined
deprecated
definition: Option<O, A, G, PG, CT, GT, PT, P>