#!/usr/bin/env bash
# Wrapper so the tool can be called as `bin/graylog-ops ...` from anywhere.
set -euo pipefail
here="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
export PYTHONPATH="${here}${PYTHONPATH:+:${PYTHONPATH}}"
exec python3 -m graylog_ops "$@"
