QuantumLearning/scripts/project_status.sh

21 lines
499 B
Bash

#!/usr/bin/env bash
set -euo pipefail
ROOT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
usage() {
cat <<'EOF'
Usage: bash ./scripts/project_status.sh
Print the current local operational state of the QuantumLearning repo:
git state, repo-local Python environment, Playwright browser runtime,
repo-local Jupyter status, and saved Jupyter UI state.
EOF
}
if [[ "${1:-}" == "-h" || "${1:-}" == "--help" ]]; then
usage
exit 0
fi
exec bash "$ROOT_DIR/scripts/app.sh" _status_internal