Skip to main content
Module

x/cliffy/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
Re-export
import { type IAction } from "https://deno.land/x/cliffy@v0.19.2/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>