| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
- 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
|
| |
|
|
|
|
|
| |
- 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
|
| |
|
|
|
|
|
|
|
| |
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.
|
|
|
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.
|