Take a Walk on the Client Side
summary
Uses JBang installs scripts and Quarkus command-mode with picocli to build a native-feeling CLI (avoids native image because H2 + native is flaky), backed by Panache JPA and an index.json of 13 default pocket types. Implements create/list/edit/add/move subcommands, argument groups, smart defaults, emoji TUI, and sensible return codes; tests use QuarkusMainLauncher/QuarkusTest for one-shot runs and assert output and exit codes. Execution strategy + request context wrappers make transactions work and the demo tests pass.
AI-written summary · about
chapters (10)
- 0:00Introduction
- 3:29Why build a CLI
- 10:50Quarkus CLI setup
- 16:05Testing CLI return codes
- 21:17User interface design
- 28:21Execution strategy
- 33:17Subcommands and help
- 41:18Default values and validation
- 45:09Adding items to pockets
- 49:47Q&A and summary








