run
command and Runfile
is similar to make
command and Makefile
, but for shell tasks.
- implemented in simple bash, no dependencies;
- supports bash and zsh;
- supports command completion with TAB key;
- list task names;
- generate sample
Runfile
;
curl https://raw.githubusercontent.com/simpzan/run/main/run.rc -o `mktemp` && bash $_
If there's no Runfile
in current directory, run run
command will create the file.
If there is Runfile
in current directory, run run
command will list the tasks.
Or just run ./Runfile
.
When cursor is at the end of run
, press Tab button will auto complete task names
run run help
to run the help
task in Runfile
.
Or just run ./Runfile help
.
see Runfile for an example.