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

x/ndeno/src/deps.ts>Command#group

js runtime project management tool / js runtime 项目管理工具
Go to Latest
method Command.prototype.group
import { Command } from "https://deno.land/x/ndeno@v2.0.4/src/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.