├── .github ├── dependabot.yml └── workflows │ ├── build.yml │ ├── check.yml │ ├── release.yml │ └── test.yml ├── .gitignore ├── CHANGELOG.md ├── CONTRIBUTING.md ├── Cargo.lock ├── Cargo.toml ├── LICENSE ├── LICENSES ├── CC0-1.0.txt └── GPL-3.0-or-later.txt ├── README.md ├── REUSE.toml ├── cliff.toml ├── flake.lock ├── flake.nix ├── install.sh ├── src ├── cli │ ├── complete.rs │ ├── env_file.rs │ ├── exec.rs │ ├── list.rs │ ├── mod.rs │ └── run.rs ├── main.rs ├── package_json.rs ├── run │ ├── exec.rs │ ├── mod.rs │ ├── script.rs │ └── util.rs ├── suggest.rs └── util │ ├── exit_code.rs │ ├── mod.rs │ └── signals.rs ├── taplo.toml └── tests ├── cli_tests.rs ├── default ├── help.in │ └── .gitkeep ├── help.toml ├── list.in │ └── package.json ├── list.toml ├── run.in │ └── package.json └── run.toml ├── exec ├── basic.in │ └── package.json ├── basic.unix.toml ├── basic.windows.toml ├── binary.in │ ├── node_modules │ │ └── .bin │ │ │ ├── dev-bin │ │ │ └── dev-bin.bat │ └── package.json ├── binary.unix.toml ├── binary.windows.toml ├── env_file.in │ ├── .env │ └── package.json ├── env_file.unix.toml ├── env_file.windows.toml ├── nonexistent.in │ └── package.json ├── nonexistent.unix.toml └── nonexistent.windows.toml ├── list ├── basic.in │ └── package.json ├── basic.toml ├── with_info.in │ └── package.json └── with_info.toml └── run ├── basic.in └── package.json ├── basic.toml ├── binary.in ├── node_modules │ └── .bin │ │ ├── dev-bin │ │ └── dev-bin.bat └── package.json ├── binary.toml ├── env_file.unix.in ├── .env └── package.json ├── env_file.unix.toml ├── env_file.windows.in ├── .env └── package.json ├── env_file.windows.toml ├── error.in └── package.json ├── error.toml ├── invalid.in └── package.json ├── invalid.toml ├── multiple_args.in └── package.json ├── multiple_args.toml ├── nested.unix.in └── package.json ├── nested.unix.toml ├── nested.windows.in └── package.json ├── nested.windows.toml ├── no_pre_post.in └── package.json ├── no_pre_post.toml ├── nonexistent.in └── package.json ├── nonexistent.toml ├── silent.in └── package.json ├── silent.toml ├── with_info.in └── package.json ├── with_info.toml ├── with_pre_post.in └── package.json └── with_pre_post.toml /.github/dependabot.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryanccn/nrr/HEAD/.github/dependabot.yml -------------------------------------------------------------------------------- /.github/workflows/build.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryanccn/nrr/HEAD/.github/workflows/build.yml -------------------------------------------------------------------------------- /.github/workflows/check.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryanccn/nrr/HEAD/.github/workflows/check.yml -------------------------------------------------------------------------------- /.github/workflows/release.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryanccn/nrr/HEAD/.github/workflows/release.yml -------------------------------------------------------------------------------- /.github/workflows/test.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryanccn/nrr/HEAD/.github/workflows/test.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryanccn/nrr/HEAD/.gitignore -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryanccn/nrr/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryanccn/nrr/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /Cargo.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryanccn/nrr/HEAD/Cargo.lock -------------------------------------------------------------------------------- /Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryanccn/nrr/HEAD/Cargo.toml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryanccn/nrr/HEAD/LICENSE -------------------------------------------------------------------------------- /LICENSES/CC0-1.0.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryanccn/nrr/HEAD/LICENSES/CC0-1.0.txt -------------------------------------------------------------------------------- /LICENSES/GPL-3.0-or-later.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryanccn/nrr/HEAD/LICENSES/GPL-3.0-or-later.txt -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryanccn/nrr/HEAD/README.md -------------------------------------------------------------------------------- /REUSE.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryanccn/nrr/HEAD/REUSE.toml -------------------------------------------------------------------------------- /cliff.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryanccn/nrr/HEAD/cliff.toml -------------------------------------------------------------------------------- /flake.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryanccn/nrr/HEAD/flake.lock -------------------------------------------------------------------------------- /flake.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryanccn/nrr/HEAD/flake.nix -------------------------------------------------------------------------------- /install.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryanccn/nrr/HEAD/install.sh -------------------------------------------------------------------------------- /src/cli/complete.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryanccn/nrr/HEAD/src/cli/complete.rs -------------------------------------------------------------------------------- /src/cli/env_file.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryanccn/nrr/HEAD/src/cli/env_file.rs -------------------------------------------------------------------------------- /src/cli/exec.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryanccn/nrr/HEAD/src/cli/exec.rs -------------------------------------------------------------------------------- /src/cli/list.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryanccn/nrr/HEAD/src/cli/list.rs -------------------------------------------------------------------------------- /src/cli/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryanccn/nrr/HEAD/src/cli/mod.rs -------------------------------------------------------------------------------- /src/cli/run.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryanccn/nrr/HEAD/src/cli/run.rs -------------------------------------------------------------------------------- /src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryanccn/nrr/HEAD/src/main.rs -------------------------------------------------------------------------------- /src/package_json.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryanccn/nrr/HEAD/src/package_json.rs -------------------------------------------------------------------------------- /src/run/exec.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryanccn/nrr/HEAD/src/run/exec.rs -------------------------------------------------------------------------------- /src/run/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryanccn/nrr/HEAD/src/run/mod.rs -------------------------------------------------------------------------------- /src/run/script.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryanccn/nrr/HEAD/src/run/script.rs -------------------------------------------------------------------------------- /src/run/util.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryanccn/nrr/HEAD/src/run/util.rs -------------------------------------------------------------------------------- /src/suggest.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryanccn/nrr/HEAD/src/suggest.rs -------------------------------------------------------------------------------- /src/util/exit_code.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryanccn/nrr/HEAD/src/util/exit_code.rs -------------------------------------------------------------------------------- /src/util/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryanccn/nrr/HEAD/src/util/mod.rs -------------------------------------------------------------------------------- /src/util/signals.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryanccn/nrr/HEAD/src/util/signals.rs -------------------------------------------------------------------------------- /taplo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryanccn/nrr/HEAD/taplo.toml -------------------------------------------------------------------------------- /tests/cli_tests.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryanccn/nrr/HEAD/tests/cli_tests.rs -------------------------------------------------------------------------------- /tests/default/help.in/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/default/help.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryanccn/nrr/HEAD/tests/default/help.toml -------------------------------------------------------------------------------- /tests/default/list.in/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryanccn/nrr/HEAD/tests/default/list.in/package.json -------------------------------------------------------------------------------- /tests/default/list.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryanccn/nrr/HEAD/tests/default/list.toml -------------------------------------------------------------------------------- /tests/default/run.in/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryanccn/nrr/HEAD/tests/default/run.in/package.json -------------------------------------------------------------------------------- /tests/default/run.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryanccn/nrr/HEAD/tests/default/run.toml -------------------------------------------------------------------------------- /tests/exec/basic.in/package.json: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /tests/exec/basic.unix.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryanccn/nrr/HEAD/tests/exec/basic.unix.toml -------------------------------------------------------------------------------- /tests/exec/basic.windows.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryanccn/nrr/HEAD/tests/exec/basic.windows.toml -------------------------------------------------------------------------------- /tests/exec/binary.in/node_modules/.bin/dev-bin: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | echo "dev" 3 | -------------------------------------------------------------------------------- /tests/exec/binary.in/node_modules/.bin/dev-bin.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryanccn/nrr/HEAD/tests/exec/binary.in/node_modules/.bin/dev-bin.bat -------------------------------------------------------------------------------- /tests/exec/binary.in/package.json: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /tests/exec/binary.unix.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryanccn/nrr/HEAD/tests/exec/binary.unix.toml -------------------------------------------------------------------------------- /tests/exec/binary.windows.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryanccn/nrr/HEAD/tests/exec/binary.windows.toml -------------------------------------------------------------------------------- /tests/exec/env_file.in/.env: -------------------------------------------------------------------------------- 1 | __NRR_ENV_CANARY=1 2 | -------------------------------------------------------------------------------- /tests/exec/env_file.in/package.json: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /tests/exec/env_file.unix.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryanccn/nrr/HEAD/tests/exec/env_file.unix.toml -------------------------------------------------------------------------------- /tests/exec/env_file.windows.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryanccn/nrr/HEAD/tests/exec/env_file.windows.toml -------------------------------------------------------------------------------- /tests/exec/nonexistent.in/package.json: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /tests/exec/nonexistent.unix.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryanccn/nrr/HEAD/tests/exec/nonexistent.unix.toml -------------------------------------------------------------------------------- /tests/exec/nonexistent.windows.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryanccn/nrr/HEAD/tests/exec/nonexistent.windows.toml -------------------------------------------------------------------------------- /tests/list/basic.in/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryanccn/nrr/HEAD/tests/list/basic.in/package.json -------------------------------------------------------------------------------- /tests/list/basic.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryanccn/nrr/HEAD/tests/list/basic.toml -------------------------------------------------------------------------------- /tests/list/with_info.in/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryanccn/nrr/HEAD/tests/list/with_info.in/package.json -------------------------------------------------------------------------------- /tests/list/with_info.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryanccn/nrr/HEAD/tests/list/with_info.toml -------------------------------------------------------------------------------- /tests/run/basic.in/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryanccn/nrr/HEAD/tests/run/basic.in/package.json -------------------------------------------------------------------------------- /tests/run/basic.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryanccn/nrr/HEAD/tests/run/basic.toml -------------------------------------------------------------------------------- /tests/run/binary.in/node_modules/.bin/dev-bin: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | echo "dev" 3 | -------------------------------------------------------------------------------- /tests/run/binary.in/node_modules/.bin/dev-bin.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryanccn/nrr/HEAD/tests/run/binary.in/node_modules/.bin/dev-bin.bat -------------------------------------------------------------------------------- /tests/run/binary.in/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryanccn/nrr/HEAD/tests/run/binary.in/package.json -------------------------------------------------------------------------------- /tests/run/binary.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryanccn/nrr/HEAD/tests/run/binary.toml -------------------------------------------------------------------------------- /tests/run/env_file.unix.in/.env: -------------------------------------------------------------------------------- 1 | __NRR_ENV_CANARY=1 2 | -------------------------------------------------------------------------------- /tests/run/env_file.unix.in/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryanccn/nrr/HEAD/tests/run/env_file.unix.in/package.json -------------------------------------------------------------------------------- /tests/run/env_file.unix.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryanccn/nrr/HEAD/tests/run/env_file.unix.toml -------------------------------------------------------------------------------- /tests/run/env_file.windows.in/.env: -------------------------------------------------------------------------------- 1 | __NRR_ENV_CANARY=1 2 | -------------------------------------------------------------------------------- /tests/run/env_file.windows.in/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryanccn/nrr/HEAD/tests/run/env_file.windows.in/package.json -------------------------------------------------------------------------------- /tests/run/env_file.windows.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryanccn/nrr/HEAD/tests/run/env_file.windows.toml -------------------------------------------------------------------------------- /tests/run/error.in/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryanccn/nrr/HEAD/tests/run/error.in/package.json -------------------------------------------------------------------------------- /tests/run/error.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryanccn/nrr/HEAD/tests/run/error.toml -------------------------------------------------------------------------------- /tests/run/invalid.in/package.json: -------------------------------------------------------------------------------- 1 | hello there 2 | -------------------------------------------------------------------------------- /tests/run/invalid.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryanccn/nrr/HEAD/tests/run/invalid.toml -------------------------------------------------------------------------------- /tests/run/multiple_args.in/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryanccn/nrr/HEAD/tests/run/multiple_args.in/package.json -------------------------------------------------------------------------------- /tests/run/multiple_args.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryanccn/nrr/HEAD/tests/run/multiple_args.toml -------------------------------------------------------------------------------- /tests/run/nested.unix.in/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryanccn/nrr/HEAD/tests/run/nested.unix.in/package.json -------------------------------------------------------------------------------- /tests/run/nested.unix.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryanccn/nrr/HEAD/tests/run/nested.unix.toml -------------------------------------------------------------------------------- /tests/run/nested.windows.in/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryanccn/nrr/HEAD/tests/run/nested.windows.in/package.json -------------------------------------------------------------------------------- /tests/run/nested.windows.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryanccn/nrr/HEAD/tests/run/nested.windows.toml -------------------------------------------------------------------------------- /tests/run/no_pre_post.in/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryanccn/nrr/HEAD/tests/run/no_pre_post.in/package.json -------------------------------------------------------------------------------- /tests/run/no_pre_post.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryanccn/nrr/HEAD/tests/run/no_pre_post.toml -------------------------------------------------------------------------------- /tests/run/nonexistent.in/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "scripts": {} 3 | } 4 | -------------------------------------------------------------------------------- /tests/run/nonexistent.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryanccn/nrr/HEAD/tests/run/nonexistent.toml -------------------------------------------------------------------------------- /tests/run/silent.in/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryanccn/nrr/HEAD/tests/run/silent.in/package.json -------------------------------------------------------------------------------- /tests/run/silent.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryanccn/nrr/HEAD/tests/run/silent.toml -------------------------------------------------------------------------------- /tests/run/with_info.in/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryanccn/nrr/HEAD/tests/run/with_info.in/package.json -------------------------------------------------------------------------------- /tests/run/with_info.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryanccn/nrr/HEAD/tests/run/with_info.toml -------------------------------------------------------------------------------- /tests/run/with_pre_post.in/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryanccn/nrr/HEAD/tests/run/with_pre_post.in/package.json -------------------------------------------------------------------------------- /tests/run/with_pre_post.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryanccn/nrr/HEAD/tests/run/with_pre_post.toml --------------------------------------------------------------------------------