#!/usr/bin/env bash
set -euo pipefail

ROOT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
cd "$ROOT_DIR"

# Dry-run by default (safe/unattended). Any CLI args you pass override defaults.
DRY_RUN_FLAG="--dry-run"

python -m app.maintenance ${DRY_RUN_FLAG} --log-level "${LOG_LEVEL:-INFO}" "$@"
