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

x/cliffy/command/types.ts>ICommandOption

Command line framework for deno 🦕 Including Commandline-Interfaces, Prompts, CLI-Table, Arguments Parser and more...
Extremely Popular
Go to Latest
interface ICommandOption
implements Omit<IFlagOptions, ExcludedCommandOptions>
import { type ICommandOption } from "https://deno.land/x/cliffy@v0.20.1/command/types.ts";

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