summaryrefslogtreecommitdiffstats
path: root/cmd/deploy
Commit message (Collapse)AuthorAgeFilesLines
* Restructure CLI with Cobrabndw2026-01-2323-1483/+1450
| | | | | | | | | | | | | Replace custom switch-based routing with Cobra for cleaner command hierarchy. Reorganize commands into logical groups: - Root command handles deployment (--binary, --static, --domain, etc.) - App management at top level: list, logs, status, restart, remove - env subcommand group: list, set, unset - host subcommand group: init, status, update, ssh - Standalone: ui (renamed from webui), version Add version command with ldflags support for build info.
* Add VPS management commands: vps, vps-update, vps-sshbndw2026-01-232-0/+244
| | | | | | - vps: Show server health (uptime, load, memory, disk, services) - vps-update: Run apt update && upgrade with streaming output - vps-ssh: Open interactive SSH session to default/specified host
* Make deploy the default action and require --binarybndw2026-01-232-35/+20
| | | | | | | - Remove "deploy" subcommand, deploy is now the default action - Require --binary flag explicitly (no auto-discovery) - Add "rm" as alias for "remove" - Update help text
* Move default host from config file to state.jsonbndw2026-01-235-106/+72
| | | | | | | | | Instead of a separate ~/.config/deploy/config file, the default host is now stored as default_host in state.json. This simplifies the config and keeps all state in one place. The init command now automatically sets the default host if none is configured.
* Add deploy command and fix static site namingbndw2026-01-238-0/+1959
Static sites now default to using the domain as the name instead of the source directory basename, preventing conflicts when multiple sites use the same directory name (e.g., dist). Also fixes .gitignore to not exclude cmd/deploy/ directory.