A modern task runner experience for Nushell.
- run commands from any subdirectory
- a set of default script names
.env
support
Each command has a -h, --help
flag available.
Walks up the current directory structure in search of a nu
script.
Once found, it will change directory to the script's directory and execute the script with any arguments passed on to nuke
.
Initially environment variables are loaded from a .env
file.
prints nuke
version information.
nuke
requires a nu
installation.
nuke
can be retrieved from GitHub or a Homebrew tap. Run nuke version
to validate the installation.
The tool is available for Windows, Linux and macOS.
nuke
is available through GitHub. The following example works for a GitHub Workflow, other CI/CD tooling will require a different path setup.
NUKE_VERSION=0.1.0
mkdir bin
echo "$(pwd)/bin" >> $GITHUB_PATH
curl -o bin/nuke -L https://github.com/restechnica/nuke/releases/download/v$NUKE_VERSION/nuke-linux-amd64
chmod +x bin/nuke
nuke
is available through the public tap github.com/restechnica/homebrew-tap
brew tap restechnica/tap [email protected]:restechnica/homebrew-tap.git
brew install restechnica/tap/nuke
nuke
is written in golang, which means you can use go install
. Make sure the installation folder, which depends on your golang setup, is in your system PATH.
go install github.com/restechnica/nuke/cmd/[email protected]
nuke
supports a set of default nu
script names and environment variables. It currently does not support a config file.
NUKE_LOG_LEVEL
: sets thenuke
log level,DEBUG
andINFO
are supported.
Supported default script names:
main.nu
nuke.nu
make.nu
tasks.nu
nukefile
nukefile.nu
Nukefile
Nukefile.nu