nx exec
Executes any command as if it was a target on the project
Options
Name | Description |
---|---|
--configuration, -c <configuration> | A named builder configuration, defined in the "configurations" section of the workspace configuration file. The builder uses the named configuration to run the given target |
--exclude <projects> | Exclude certain projects from being processed |
--graph | Show the task graph of the command |
--help | Show help |
--nx-bail | Stop command execution after the first failed task |
--nx-ignore-cycles | Ignore cycles in the task graph |
--output-style <arg> | Defines how Nx emits outputs tasks logs |
--parallel <arg> | Max number of parallel processes [default is 3] |
--project <project> | Target project |
--runner <arg> | This is the name of the tasks runner configured in nx.json |
--skip-nx-cache | Rerun the tasks even when the results are available in the cache |
--verbose | Prints additional information about the commands (e.g., stack traces) |
--version | Show version number |