Files
Wes McKinney de61c0be27 feat(cli)!: require explicit serve subcommand to start server (#354)
## Summary

Bare `agentsview` now prints help instead of auto-launching the server.
This matches conventional CLI behavior (git, docker, kubectl) where the
top-level command shows usage when invoked without a subcommand.

- `--version`/`-v` still works at the root.
- Serve flags (`--host`, `--port`, etc.) are no longer registered on the
root command, so `agentsview --port 9090` returns "unknown flag"; use
`agentsview serve --port 9090` instead.
- `make dev` (`.air.toml`) and `make dev-snapshot` invoke `serve`
explicitly.
- README quickstart updated.
- Tauri sidecar already invoked `serve` explicitly, so the desktop app
is unaffected.
2026-04-19 10:12:54 -05:00

17 lines
418 B
TOML

root = "."
tmp_dir = "tmp"
[build]
cmd = "./scripts/dev-backend-build.sh"
bin = "./tmp/agentsview"
args_bin = ["serve"]
delay = 500
exclude_dir = ["frontend", "internal/web/dist", "tmp", "vendor", ".git", "dist", "desktop", "data", "sessions", "html", ".superpowers"]
include_ext = ["go", "tpl", "tmpl", "html", "sql"]
stop_on_error = true
send_interrupt = true
kill_delay = "500ms"
[screen]
clear_on_rebuild = true