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
+13
View File
@@ -229,6 +229,16 @@ tvctl config reset Reset to defaults
tvctl config reload Hot-reload config into running daemon
```
### completion
Generate shell completions to stdout.
```bash
tvctl completion bash > ~/.local/share/bash-completion/completions/tvctl
tvctl completion zsh > ~/.zfunc/_tvctl
tvctl completion fish > ~/.config/fish/completions/tvctl.fish
```
---
## HTTP API Reference
@@ -462,6 +472,9 @@ tvctl state
# Scripting example
tvctl state --json | jq '.data.active_app.name'
# Optional shell completions
tvctl completion zsh > ~/.zfunc/_tvctl
```
---