XScripts is a modern approach to Scripts To Rule Them All. Safely run x
in project's root directory to see what you can do.
TBD
x
, installed in the root of a project, runs other command scripts in the.xscripts
directory.- running
x
with no arguments will list available scripts and other help information. _
prefixed scripts serve as library functions, and are not directly executable.
x
is docker-friendly, run it inside or outside a container.- command scripts should remain simple, not require a lot of dependencies, and be written in bash for portability.
x up
- Start the projectx down
- Stop the projectx freshen
- Freshen the project's dependenciesx console
- Open a console in the projectx check
- Check the project's dependencies
$ x make my-command
- installer, via curl
- find and/or set primary docker compose service/container
- autocompletions