Module

x/cliffy/command/mod.ts>IAction

Command line framework for deno 🦕 Including Commandline-Interfaces, Prompts, CLI-Table, Arguments Parser and more...
Extremely Popular
Go to Latest
type alias IAction
import { type IAction } from "https://dotland.deno.dev/x/cliffy@v0.19.2/command/mod.ts";

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>
import IAction
import { IAction } from "https://dotland.deno.dev/x/cliffy@v0.19.2/command/mod.ts";