summaryrefslogtreecommitdiffstats
path: root/cmd/ship/main.go
Commit message (Collapse)AuthorAgeFilesLines
* feat(v2): wire up v2 as default interfaceClawd39 hours1-2/+14
| | | | | | | | - main.go: v2 JSON interface is now default - Set SHIP_V1=1 to use legacy human-formatted output - initV2() called before rootV2Cmd.Execute() v2 rebuild complete - ready for testing
* Move deploy implementation to deploy.gobndw2026-01-251-92/+0
| | | | | | | Restructure CLI files to follow idiomatic cobra layout: - main.go: minimal entry point - root.go: command definition, flags, and subcommand wiring - deploy.go: all deploy implementation
* Add examples to help textbndw2026-01-251-1/+18
|
* Add CPU and memory limits for appsbndw2026-01-251-0/+2
| | | | | | | | | | | | Adds --memory and --cpu flags to set systemd resource limits: ship --binary ./app --memory 512M --cpu 100% Also adds config update mode - use --name without --binary to update an existing app's config without redeploying the binary: ship --name myapp --cpu 50% ship --name myapp --memory 256M --env DEBUG=true Limits are stored in state and preserved on redeploy.
* Add auto-generated subdomain featurebndw2026-01-241-1/+3
| | | | | | | | | | | | | When a base domain is configured on a host (e.g., apps.example.com), deployments automatically get a subdomain ({name}.apps.example.com). Custom --domain can still be provided to route both domains. - Add BaseDomain field to Host state - Add --base-domain flag to host init - Add 'ship host set-domain' command to update base domain - Update deploy flow to auto-generate subdomains - Fix error display (errors were being silently swallowed) - Remove placeholder email from Caddyfile template
* Add ASCII art banner and improve help textbndw2026-01-241-3/+22
| | | | | Show a ship logo in CLI help and explain how ship works - SSH-only deployment with no agents or containers required.
* Rename project from deploy to shipbndw2026-01-241-0/+65
- 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