Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/cmd/mod.ts>Command#alias

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

Set an alias for the command.

You may call more than once to add multiple aliases. Only the first alias is shown in the auto-generated help.

Parameters

alias: string