The --limit-superseded message was only printed when verbose=True,
so users running --select --limit 5 without -v got no indication
their flag was silently ignored. Make the notice unconditional.
The --select TTY guard used sys.stdout.isatty(), but interactive
prompts read from stdin. This caused two failure modes:
- Redirecting stdout (e.g. | tee log.txt) blocked --select even
though the keyboard was available
- With stdin piped in CI, stdout could still be a TTY, allowing
the prompt to proceed and block forever on absent input
The raw_books parameter accepts list[dict | Book] since the
selector wiring (issue #48), but the annotation still said
list[dict]. Also restore the missing opening sentence of the
selector changelog entry that was truncated.
Replace select_mode stub with real selection pipeline:
- TTY guard: non-interactive terminals get fatal_error exit
- Convert filtered dicts to Books via from_library_row()
- Call select_books(), pass selected Books to orchestrator
- Orchestrator accepts pre-converted Book objects (isinstance check)
- --limit bypassed when --select is active, with verbose note
- Remove "[not implemented]" from --select help text
Closes#48
New selector.py with select_books() and _format_row().
Questionary checkbox prompt, all unchecked by default,
confirmation summary + y/N, original order preservation,
Ctrl+C propagation via unsafe_ask(). 9 tests.
Closes#47
New selector.py with select_books() and _format_row().
Questionary checkbox prompt, all unchecked by default,
confirmation summary + y/N, original order preservation,
Ctrl+C propagation via unsafe_ask(). 9 tests.
Closes#47