Rush StackShopBlogEvents
Skip to main content

Home > @microsoft/rush-lib > IGlobalCommand > setHandled

IGlobalCommand.setHandled() method

This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

Call this from a plugin hook to indicate that the command has been fully handled by the plugin. When set, the default shell command execution will be skipped.

Signature:

setHandled(): void;

Returns:

void