Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

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

A simple but powerful TypeScript-based dot-file manager.
Go to Latest
method cliffy.Command.prototype.group
Re-export
import { cliffy } from "https://deno.land/x/powar@1.0.3/deps.ts";
const { Command } = cliffy;

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 | null

The name of the option group.