Skip to content
/ nw Public

CLI that detects and runs the corresponding script runner

Notifications You must be signed in to change notification settings

kossnocorp/nw

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nw

A tiny CLI that finds the command runner used in the current project and runs it with the passed arguments.

So instead of looking up if a project uses pnpm, Yarn, or npm, you can just run nw test, and it will delegate the command to the correct runner.

Here's the list of supported runners:

Runner Command
Just just ARGS
Make make ARGS
npm npm run ARGS
pnpm pnpm run ARGS
Yarn yarn run ARGS
cargo cargo ARGS

Getting started

Installation

To install nw, you can use cargo:

cargo install nw

Changelog

See the changelog.

License

MIT © Sasha Koss

About

CLI that detects and runs the corresponding script runner

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages