Rush StackShopBlogEvents
Skip to main content

Home > @microsoft/rush-lib > RushLifecycleHooks > runPhasedCommand

RushLifecycleHooks.runPhasedCommand property

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

A hook map to allow plugins to hook specific named phased commands (defined in command-line.json) before execution.

Signature:

runPhasedCommand: HookMap<AsyncSeriesHook<IPhasedCommand>>;