Module

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

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

Enable grouping of options and set the name of the group. All option which are added after calling the .group() method will be grouped in the help output. If the .group() method can be use multiple times to create more groups.

Parameters

name: string

The name of the option group.