Module

x/cliffy/mod.ts>Command#default

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

Set default command. The default command is executed when the program was called without any argument and if no action handler is registered.

Parameters

name: string

Name of the default command.