Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Latest
type alias Cliffy.IAction
Re-export
import { type Cliffy } from "https://deno.land/x/dmm@v2.1.2/tests/integration/up-to-date-deps/deps.ts";
const { IAction } = Cliffy;

Action handler for commands and 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
definition: (
this: Command<O, A, G, PG, P>,
options: Merge<Merge<PG, G>, O>,
...args: A,
) => void | Promise<void>