Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

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

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

Set command callback method.

Parameters

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

Command action handler.