tui rework

This commit is contained in:
2026-03-09 14:18:34 +03:00
parent 309dfdba86
commit 4f74bb8afb
8 changed files with 5497 additions and 1520 deletions

View File

@@ -8,11 +8,22 @@ set -e
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
cd "$SCRIPT_DIR"
echo "Starting Enterprise Clean Release Validator..."
echo "Starting Enterprise Clean Release Validator (real mode)..."
# Set up environment
export PYTHONPATH="$SCRIPT_DIR/backend"
export TERM="xterm-256color"
export CLEAN_TUI_MODE="real"
CANDIDATE_ID=""
if [ "${1:-}" = "--demo" ]; then
export CLEAN_TUI_MODE="demo"
shift
fi
if [ -n "${1:-}" ]; then
CANDIDATE_ID="$1"
export CLEAN_TUI_CANDIDATE_ID="$CANDIDATE_ID"
fi
# Run the TUI
./backend/.venv/bin/python3 -m backend.src.scripts.clean_release_tui