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

x/powar/deps.ts>cliffy.Command#globalAction

A simple but powerful TypeScript-based dot-file manager.
Go to Latest
method cliffy.Command.prototype.globalAction
Re-export
import { cliffy } from "https://deno.land/x/powar@1.0.2/deps.ts";
const { Command } = cliffy;

Set command callback method.

Parameters

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

Command action handler.