Working Saturnin-based meta-command

TF_HEADER 381B

1234567891011
  1. #!/bin/bash
  2. . "$(sfpath)" || exit 3
  3. echo "version: $(saturnin-demo -V)"
  4. echo "binary: $(which saturnin-demo)"
  5. echo "SHELLFU_PATH: ${SHELLFU_PATH:-null}"
  6. echo "SATURNIN_LIBEXEC: ${SATURNIN_LIBEXEC:-null}"
  7. echo "shellfu-modules:"
  8. echo " saturnin_demo_greet: $(shellfu _select_mfile saturnin_demo_greet)"
  9. echo "saturnin-version: $(saturnin-demo --saturnin-get-saturnin-version)"