Skip to main content
Deno 2 is finally here 🎉️
Learn more
Latest
interface Cliffy.ICommandOption
implements Omit<IFlagOptions, ExcludedCommandOptions>
Re-export
import { type Cliffy } from "https://deno.land/x/dmm@v2.1.2/tests/integration/up-to-date-deps/deps.ts";
const { ICommandOption } = Cliffy;

Command option options.

Type Parameters

optional
O extends Record<string, any> | void = any
optional
A extends Array<unknown> = any
optional
G extends Record<string, any> | void = any
optional
PG extends Record<string, any> | void = any
optional
P extends Command | undefined = any

Properties

optional
override: boolean
optional
hidden: boolean
optional
global: boolean
optional
action: IAction<O, A, G, PG, P>
optional
prepend: boolean