@wcauchois/program-builder > ProgramBuilder > buildWithSubcommands
ProgramBuilder.buildWithSubcommands() method
Build a ProgramWithSubcommands using a map of ProgramWithActions as created by calling ProgramBuilder.bind.
static buildWithSubcommands(subcommandMap: ProgramSubcommandMap, metadata?: IProgramWithSubcommandsMetadata): ProgramWithSubcommands;
Parameters
| Parameter | Type | Description |
|---|---|---|
| subcommandMap |
| |
| metadata |
|
ProgramWithSubcommands