Module

x/lume/deps/cliffy.ts>Command#action

🔥 Static site generator for Deno 🦕
Very Popular
Go to Latest
method Command.prototype.action
import { Command } from "https://dotland.deno.dev/x/lume@v2.2.1/deps/cliffy.ts";

Set command callback method.

Parameters

fn: ActionHandler<TCommandOptions, TCommandArguments, TCommandGlobals, TParentCommandGlobals, TCommandTypes, TCommandGlobalTypes, TParentCommandTypes, TParentCommand>

Command action handler.