Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/ndeno/src/deps.ts>Command#globalAction

js runtime project management tool / js runtime 项目管理工具
Go to Latest
method Command.prototype.globalAction
import { Command } from "https://deno.land/x/ndeno@v2.0.6/src/deps.ts";

Set command callback method.

Parameters

fn: ActionHandler<Partial<TCommandOptions>, Array<unknown>, TCommandGlobals, TParentCommandGlobals, TCommandTypes, TCommandGlobalTypes, TParentCommandTypes, TParentCommand>

Command action handler.