Skip to main content
Module

x/cmd/mod.ts>Command#aliases

Commander.js (command-line interfaces) for Deno.
Latest
method Command.prototype.aliases
import { Command } from "https://deno.land/x/cmd@v1.2.0/mod.ts";

Set aliases for the command.

Only the first alias is shown in the auto-generated help.

Parameters

aliases: string[]