A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://nx.dev/reference/core-api/workspace/generators/run-commands below:

Website Navigation


@nx/workspace:run-commands | Nx

@nx/workspace:run-commands

Create a custom target to run any command.

Usage

nx generate run-commands ...

By default, Nx will search for run-commands in the default collection provisioned in workspace.json.

You can specify the collection explicitly as follows:

nx g @nx/workspace:run-commands ...

Show what will be generated without writing to disk:

nx g run-commands ... --dry-run

Examples

Add the printhello target to my-feature-lib:

nx g @nx/workspace:run-commands printhello --project my-feature-lib --command 'echo hello'


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4