Skip to content

orgsofthq/concurrently

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

concurrently

Allows running concurrent shell commands and supports multiple levels of nesting. Commands have alternating colors and are prefixed with their index.

Usage

CLI:

# Run multiple commands concurrently
concurrently "deno lint" "deno fmt" "sleep 1 && echo 'it worked!'"

# Nested concurrent commands
concurrently \
  "concurrently 'deno lint' 'deno fmt'" \
  "sleep 1 && echo 'it worked!'"

Code:

import concurrently from "jsr:@orgsoft/concurrently";

await concurrently(["deno lint", "deno fmt", "sleep 1 && echo 'it worked!'"]);

Installation

Recommended:

deno install -frAg -n concurrently jsr:@orgsoft/concurrently

More restrictive:

deno install -frg --allow-env=SHELL -n concurrently jsr:@orgsoft/concurrently

deno is required to install and use concurrently. You can change the name of the globally installed command by changing -n concurrently to -n mycommandname.

About

⇉ Run shell commands concurrently.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published