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:
@@ -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
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
Reference in New Issue
Block a user