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

x/cliffy/command/command.ts>Command#removeCommand

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

Remove sub-command with given name.

Type Parameters

optional
O = any

Parameters

name: string

Name of the command.

Returns

Command<O> | undefined