The run
command executes the given CLI command in every subdirectory.
If the command fails in one of the subdirectories, it ends and leaves you in the failing directory. You can investigate the failure and then have three options:
- abort to clear the job queue and return to the main directory
- retry to retry the failed operation after you fixed the issue and continue executing the job queue
- ignore to skip the failed operation and continue executing the job queue
-
update a dependency managed by npm:
m run npx npm-check-updates -u <dependency>
-
run a bash command:
m run bash -c "echo hello"