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

x/deno_books/deps.ts>Command#group

Access OpenLibrary's API with Deno.
Go to Latest
method Command.prototype.group
Re-export
import { Command } from "https://deno.land/x/deno_books@v1.2.1/deps.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 | null

The name of the option group.