nr

Crates.ionr
lib.rsnr
version0.1.0
sourcesrc
created_at2024-05-02 14:26:36.675733
updated_at2024-05-02 14:26:36.675733
descriptionA npm script runner
homepage
repository
max_upload_size
id1227788
size33,823
阿五 (liwuhou)

documentation

README

Npm Runner

Just nr [script], fastly excute any node's project any script.

Usage: nr <COMMAND>

Commands:
  run      Run any alias script or default
  ls       Show alias script list
  alias    Set alias to map script
  delete   Delete alias
  install  Use the right package manager to install
  help     Print this message or the help of the given subcommand(s)

Options:
  -h, --help     Print help
  -V, --version  Print version

Usage

First run, you just need to run.

nr run [alias] [script]

After above, you can use this [alias] to run script directly.

nr run [alias]

Even if alias is empty, just excute it without any thinking!

Just install

nr will use right package manager to instlal dependencies.

nr install
# or
nr install -D [npm_package_name...]
Commit count: 0

cargo fmt