#!/bin/bash # Run the Knoe installer with execution instrumentation (coverage) # This helps identify unused code paths during manual testing/usage. set -e SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" PYTHON="$SCRIPT_DIR/bin/python" export PYTHONPATH="$SCRIPT_DIR:${PYTHONPATH:-}" "$PYTHON" -m coverage run -m knoe.ui.screens "$@" "$PYTHON" -m coverage report -m "$PYTHON" -m coverage html echo "Execution instrumentation report generated in $SCRIPT_DIR/htmlcov/index.html"