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

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

A better way to work with processes in Deno.
Go to Latest
interface GlobalOptionOptions
implements Omit<FlagOptions, ExcludedCommandOptions>
Re-export
import { type GlobalOptionOptions } from "https://deno.land/x/proc@0.21.8/tools/deps/cliffy.ts";

Command option options.

Type Parameters

optional
TOptions extends Record<string, any> | void = any
optional
TArguments extends Array<unknown> = TOptions extends number ? any : []
optional
TGlobals extends Record<string, any> | void = TOptions extends number ? any : void
optional
TParentGlobals extends Record<string, any> | void = TOptions extends number ? any : void
optional
TTypes extends Record<string, any> | void = TOptions extends number ? any : void
optional
TGlobalTypes extends Record<string, any> | void = TOptions extends number ? any : void
optional
TParentTypes extends Record<string, any> | void = TOptions extends number ? any : void
optional
TParentCommand extends Command<any> | undefined = TOptions extends number ? any : undefined

Properties

optional
override: boolean
optional
hidden: boolean
optional
prepend: boolean
optional
value: OptionValueHandler
optional
default: DefaultValue