Skip to main content
Module

x/deno_books/deps.ts>Command#globalAction

Access OpenLibrary's API with Deno.
Go to Latest
method Command.prototype.globalAction
Re-export
import { Command } from "https://deno.land/x/deno_books@v1.4.0/deps.ts";

Set command callback method.

Parameters

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

Command action handler.