@wcauchois/program-builder > ProgramWithSubcommands

ProgramWithSubcommands class

Signature:
export default class ProgramWithSubcommands

Remarks

The constructor for this class is marked as internal. Third-party code should not call the constructor directly or create subclasses that extend the ProgramWithSubcommands class.

Properties

PropertyModifiersTypeDescription
metadata
IProgramWithSubcommandsMetadata
subcommandMap
ProgramSubcommandMap

Methods

MethodModifiersDescription
determineSubcommand(args)
exec(rawArgs)
execOrThrow(rawArgs)
generateHelpText()