A modern task runner experience for Nushell.
- run commands from any subdirectory
- a set of default script names
.envsupport
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/nukenuke is available through the public tap github.com/restechnica/homebrew-tap
brew tap restechnica/tap git@github.com:restechnica/homebrew-tap.git
brew install restechnica/tap/nukenuke 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/nuke@v0.1.0nuke supports a set of default nu script names and environment variables. It currently does not support a config file.
NUKE_LOG_LEVEL: sets thenukelog level,DEBUGandINFOare supported.
Supported default script names:
main.nunuke.numake.nutasks.nunukefilenukefile.nuNukefileNukefile.nu