Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Go to Latest
method Command.prototype.action
Re-export
import { Command } from "https://deno.land/x/commit_genius@v0.5.0/deps.ts";

Set command callback method.

Parameters

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

Command action handler.