#!/bin/bash
# LibreTools wrapper
# License: GPLv3

source /etc/libretools.conf

command=$1; shift

[[ ! -x ~/l/libre"${command}" ]] && {
  error "Command not found"
  exit 1
}

~/l/libre${command} "$@"

exit $?