#!/usr/bin/env python3 """dsflow_tui - terminal UI for the dsflow DesignSync check-in flow. Run from the workspace root (the same place you run `dsflow`): dsflow_tui.py interactive TUI dsflow_tui.py status [--json] print the sanity-run status and exit dsflow_tui.py --demo try it in a sandbox driven by a fake dssc Everything it needs ships in this checkout: the code is in dsflow/ and the UI library (Textual) is vendored in vendor/, so no pip and no network. Needs Python >= 3.8.1 and bash. See README.md. """ import os import sys HERE = os.path.dirname(os.path.realpath(__file__)) # vendor/ goes first so the pinned copies win over anything installed on the host sys.path[:0] = [HERE, os.path.join(HERE, "vendor")] from dsflow.cli import main # noqa: E402 if __name__ == "__main__": sys.exit(main())