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

x/alloy_folk/deps.ts>cliffy.IAction

An application installer for restriced macOS
Go to Latest
type alias cliffy.IAction
Re-export
import { type cliffy } from "https://deno.land/x/alloy_folk@v1.1.1/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> = O extends number ? any : []
optional
G extends Record<string, any> | void = O extends number ? any : void
optional
PG extends Record<string, any> | void = O extends number ? any : void
optional
CT extends Record<string, any> | void = O extends number ? any : void
optional
GT extends Record<string, any> | void = O extends number ? any : void
optional
PT extends Record<string, any> | void = O extends number ? any : void
optional
P extends Command<any> | undefined = O extends number ? any : undefined
definition: (
this: Command<PG, PT, O, A, G, CT, GT, P>,
options: MapTypes<Merge<PG, Merge<G, O>>>,
...args: MapTypes<A>,
) => unknown | Promise<unknown>