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

Command option settings.

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

description: string
flags: Array<string>
optional
typeDefinition: string
args: IArgument[]