Home > @rushstack/ts-command-line > CommandLineParser > selectedAction
CommandLineParser.selectedAction property
Reports which CommandLineAction was specified on the command line.
Signature:
selectedAction: CommandLineAction | undefined;
Remarks
The value will be assigned before onExecute() is invoked.