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

x/opinecli/deps.ts>Command#default

Opine's application generator
Latest
method Command.prototype.default
Re-export
import { Command } from "https://deno.land/x/opinecli@2.0.0/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.