Home > @rushstack/ts-command-line > CommandLineParser > addAction
CommandLineParser.addAction() method
Defines a new action that can be used with the CommandLineParser instance.
Signature:addAction(action: CommandLineAction): void;
Parameters
Parameter | Type | Description |
---|---|---|
action | CommandLineAction |
void