run
is a simple, YAML-based command runner.
run [commands]
run -f [runfile] [commands]
# file name: runfile
# each action is represented as a list of commands,
# which `run` will execute in order.
test:
- echo "Hello, World!"
- printf "%s\n" "This is a test!"
# `run` searches for a YAML file name `runfile` in the current working
# directory, if no argument for a specific runfile is provided.
# To specify a runfile, provide the flag `run -f='/location/of/runfile'`.
$ run test
Hello, World!
This is a test!
-f / --runfile
- Location of runfile.
- Support local variables(?).
- Fix any bugs that may be present, particularly when it comes to parsing, and executing commands.
0BSD