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

x/lume/deps/cliffy.ts>Command#group

🔥 Static site generator for Deno 🦕
Very Popular
Go to Latest
method Command.prototype.group
Re-export
import { Command } from "https://deno.land/x/lume@v1.14.1/deps/cliffy.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.