Thanks to visit codestin.com
Credit goes to github.com

Skip to content

CLI for executing multiple commands in parallel with minimal footprint (~2KB).

License

Notifications You must be signed in to change notification settings

microlinkhq/tinyrun

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

microlink cdn microlink cdn

Last version Coverage Status NPM Status

tinyrun executes multiple commands in parallel with minimal footprint (~2KB).

It can run one-off commands:

tinyrun "pnpm build" "pnpm build:docs"

or commands that keep running in background:

tinyrun --names "HTTP" "node examples/server.js"

HTTP started pid=13030
HTTP Server is listening on port 3000
c^CHTTP Received shutdown signal, shutting down gracefully...
HTTP Closed out remaining connections
HTTP cmd='node examples/server.js' exitCode=0 signalCode=null duration=2s

Install

npm install tinyrun --global

Usage

as CLI

Just tinyrun --help to see all the options availables.

as module

Check how CLI is implemented to see how it's interacting with the core module.

Related

  • tinyspawn – A minimalistic wrapper around Node.js child_process.spawn API.

License

tinyrun © Kiko Beats, released under the MIT License.
Inspired by Stanko Tadić. Authored and maintained by Kiko Beats with help from contributors.

kikobeats.com · GitHub Kiko Beats · Twitter @kikobeats

About

CLI for executing multiple commands in parallel with minimal footprint (~2KB).

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •