feat: add milestone 6 CLI polish

Add shell completion generation, improve first-run device messaging,
and include HTTP endpoint details in daemon startup output.
This commit is contained in:
44r0n7
2026-04-15 15:56:21 -04:00
parent b8a0a0ff16
commit 26cc0c973a
10 changed files with 164 additions and 111 deletions
+12 -10
View File
@@ -1,20 +1,20 @@
# ROADMAP.md
# tvctl — Feature Roadmap and Milestone Tracker
# Agents: update this file as work is completed. See AGENT.md for instructions.
# Last updated: 2026-04-14
# Last updated: 2026-04-15
---
## Current Focus
**Milestone 5HTTP API**
HTTP route parity with the daemon is now in progress. Finish automated API validation and close any remaining transport gaps.
**Milestone 6Polish and Release Prep**
Close the low-risk polish items that make the CLI easier to install, discover, and use day to day.
---
## In Progress
- Milestone 5 is in progress; the `/v1` Axum server and core route surface are implemented, but automated HTTP validation is still missing
- Milestone 6 is in progress; shell completions and first-run CLI polish are landing first while heavier release work stays pending
---
@@ -116,14 +116,14 @@ _Goal: Full /v1/ API running on 127.0.0.1:7272._
## Milestone 6 — Polish and Release Prep
_Goal: Ready for real use._
- [ ] Shell completions (bash, zsh, fish) via clap
- [x] 2026-04-15 — Shell completions (bash, zsh, fish) via clap
- [ ] `tvctl daemon install` generates correct systemd unit file
- [ ] First-run experience: helpful output when no devices discovered yet
- [ ] Daemon startup message with socket path and HTTP port
- [x] 2026-04-15 — First-run experience: helpful output when no devices discovered yet
- [x] 2026-04-15 — Daemon startup message with socket path and HTTP port
- [ ] Log output via `tracing` (respects `log_level` config)
- [ ] README accuracy pass (verify all examples work)
- [ ] `cargo clippy` clean
- [ ] `cargo test` passing
- [x] 2026-04-15 — README accuracy pass (verify all examples work)
- [x] 2026-04-15 — `cargo clippy` clean
- [x] 2026-04-15 — `cargo test` passing
- [ ] Cross-compile test (x86_64 + aarch64)
- [ ] GitHub Actions CI (build + clippy + test)
- [ ] First binary release
@@ -164,6 +164,8 @@ out of scope until Milestone 6 is complete and stable.
- [x] 2026-04-14 — Add daemon-backed app control, remote input, state queries, and dev workflows with live Roku CLI validation
- [x] 2026-04-14 — Add config list/get/set/reset/reload plus systemd user-service install/uninstall commands
- [x] 2026-04-14 — Finish Milestone 4 with help, JSON-mode, config socket-reload, and secret-redaction polish
- [x] 2026-04-15 — Add HTTP API route parity and integration coverage against an isolated running daemon
- [x] 2026-04-15 — Add shell completions and first-run CLI polish for Milestone 6
---