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

x/cliffy/packages/command/mod.ts>BaseCommand#removeOption

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

Remove option by name.

Parameters

name: string

Name of the option. Must be in param-case.

Returns

IOption | undefined