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

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

🔥 Static site generator for Deno 🦕
Very Popular
Latest
method Command.prototype.action
Re-export
import { Command } from "https://deno.land/x/lume@v2.4.2/deps/cliffy.ts";

Set command callback method.

Parameters

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

Command action handler.