Skip to content

Latest commit

 

History

History
26 lines (18 loc) · 709 Bytes

run.md

File metadata and controls

26 lines (18 loc) · 709 Bytes

"run" command

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

recipes

  • update a dependency managed by npm:

    m run npx npm-check-updates -u <dependency>
    
  • run a bash command:

    m run bash -c "echo hello"