Helper script for invoking CLI

This commit is contained in:
Ray Miller 2025-01-23 18:29:56 +00:00
parent 7401263664
commit 06c2679c64
Signed by: ray
GPG key ID: 043F786C4CD681B8

6
bin/ordo.sh Executable file
View file

@ -0,0 +1,6 @@
#!/usr/bin/env bash
MODULES_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )/../modules" &> /dev/null && pwd )
# guile -L modules --no-auto-compile -e '(@ (ordo cli) main)' -- $PWD/examples/inventory.scm $PWD/examples/basic.scm
exec guile -L "${MODULES_DIR}" --no-auto-compile -e '(@ (ordo cli) main)' -- "$@"