@wcauchois/program-builder > ProgramWithSubcommands > determineSubcommand
ProgramWithSubcommands.determineSubcommand() method
Signature:determineSubcommand(args: string[]): [string[], string[], ProgramWithAction<any>];
Parameters
| Parameter | Type | Description |
|---|---|---|
| args |
|
[string[], string[], ProgramWithAction<any>]