phobiCS-tui dispatcher: - --version / -v: print version, exit 0 - approve <existing> <proposed>: read both files, render <Approve>, exit 0 on accept / 1 on reject / 2 on bad args or read error - no args: print 'browser mode coming' placeholder, exit 0 - SIGTERM/SIGINT during approve: unmount + exit 1 Integration tests cover the no-TTY paths (--version, missing file, missing args). Accept/reject keybinds are covered by the ink-testing-library tests in Approve.test.tsx; piping stdin into a no-TTY ink process is flaky on Windows so we don't try to integration-test that path. The shebang line is intentionally absent from the source; the build script prepends one to dist/tui/index.js. |
||
|---|---|---|
| .. | ||
| integration | ||
| tui | ||
| unit | ||
| bench-results-v5.json | ||
| bench-results.json | ||
| bench.mjs | ||
| mock_watcher.py | ||
| test-fixes.mjs | ||
| TEST_OVERVIEW.md | ||