Home > @rushstack/ts-command-line > CommandLineParser > executeWithoutErrorHandling
CommandLineParser.executeWithoutErrorHandling() method
This is similar to CommandLineParser.execute(), except that execution errors simply cause the promise to reject. It is the caller's responsibility to trap
Signature:
executeWithoutErrorHandling(args?: string[]): Promise<void>;
Parameters
Parameter | Type | Description |
---|---|---|
args | string[] | (Optional) |
Returns:
Promise<void>