Skip to main content
Module

x/mod/deps.ts>Command#default

Simple Command Line Interface to create Deno module entrypoints, CI, config and more.
Latest
method Command.prototype.default
Re-export
import { Command } from "https://deno.land/x/mod@v2.3.9/deps.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.