Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/cliffy/mod.ts>BaseCommand#action

Command line framework for deno 🦕 Including Commandline-Interfaces, Prompts, CLI-Table, Arguments Parser and more...
Extremely Popular
Go to Latest
method BaseCommand.prototype.action
Re-export
import { BaseCommand } from "https://deno.land/x/cliffy@v0.7.0/mod.ts";

Set command handler.

Parameters

fn: IAction<O, A>

Callback method.