Skip to main content
Module

x/dyr/deps.ts>Command#action

Access Yr's weather API and Nominatim's API with Deno
Go to Latest
method Command.prototype.action
Re-export
import { Command } from "https://deno.land/x/dyr@v1.4.0/deps.ts";

Set command callback method.

Parameters

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

Command action handler.