#!/usr/bin/bash
#shellcheck disable=SC1090,SC2034

. "$(sfpath)" || exit 3

shellfu import saturnin

saturnin__main \
    --saturnin-app-codename "" \
    --saturnin-app-git-hash "61eeccdb6bdf3a66ebde11307fc62f6dd829c754" \
    --saturnin-app-tagline "Tool and related code for JAT testing framework" \
    --saturnin-app-url "https://gitlab.com/vornet/jats/jattool" \
    --saturnin-app-version "0.3.11" \
    --saturnin-builtins "conf" \
    --saturnin-cache-home "$HOME/.cache/jattool" \
    --saturnin-config-home "$HOME/.config/jattool" \
    --saturnin-data-home "$HOME/.local/share/jattool" \
    --saturnin-conf-path "$(
        saturnin__conf_mkpath \
            "$HOME/.config/jattool/ini.d" \
            "$HOME/.config/jattool" \
            "/etc/jattool" \
            "/usr/share/jattool/ini.d"
    )" \
    --saturnin-conf-suffix ".ini" \
    --saturnin-help-topicpath "__SATURNIN_HELP_TOPICPATH__" \
    --saturnin-help-topicsuffix ".md" \
    --saturnin-libexec "/usr/libexec/jattool" \
    --saturnin-libexec-prefix "jattool-" \
    --saturnin-meta-help "+/usr/share/jattool/help" \
    --saturnin-sccompgen-path "/usr/share/jattool/complete" \
    --saturnin-msgmode "color" \
    --saturnin-verbose "true" \
    "$@"
