summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* remove old design specbndw2026-01-241-586/+0
|
* Rename project from deploy to shipbndw2026-01-2425-87/+87
| | | | | | | | | - Rename module to github.com/bdw/ship - Rename cmd/deploy to cmd/ship - Update all import paths - Update config path from ~/.config/deploy to ~/.config/ship - Update VPS env path from /etc/deploy to /etc/ship - Update README, Makefile, and docs
* Update README for new command structurebndw2026-01-241-34/+33
| | | | | | | - Commands now use host subcommand (deploy host init, update, ssh, status) - Remove --host flag from examples (default host set on init) - Update env commands to new subcommand syntax - Simplify configuration section
* Add reboot prompt to host update commandbndw2026-01-241-4/+17
| | | | | Prompts user to reboot when required after apt upgrade completes. Both prompts now default to yes for a more turnkey experience.
* Restructure CLI with Cobrabndw2026-01-2325-1485/+1469
| | | | | | | | | | | | | 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-237-172/+84
| | | | | | | | | 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-239-1/+1960
| | | | | | | | 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.
* fixed logs -fbndw2025-12-281-0/+36
|
* filesbndw2025-12-283-2/+10
|
* initbndw2025-12-2815-0/+1758