From 9c222e3fe49c6786c1719b6100564d413d7f8db6 Mon Sep 17 00:00:00 2001 From: bndw Date: Sat, 24 Jan 2026 10:49:35 -0800 Subject: Add ASCII art banner and improve help text Show a ship logo in CLI help and explain how ship works - SSH-only deployment with no agents or containers required. --- cmd/ship/main.go | 25 ++++++++++++++++++++++--- 1 file changed, 22 insertions(+), 3 deletions(-) (limited to 'cmd/ship/main.go') diff --git a/cmd/ship/main.go b/cmd/ship/main.go index 680ac58..27fe8b7 100644 --- a/cmd/ship/main.go +++ b/cmd/ship/main.go @@ -18,13 +18,32 @@ var ( date = "unknown" ) +const banner = ` + ~ + ___|___ + | _ | + _|__|_|__|_ + | SHIP | Ship apps to your VPS + \_________/ with automatic HTTPS + ~~~~~~~~~ +` + var rootCmd = &cobra.Command{ Use: "ship", Short: "Ship apps and static sites to a VPS with automatic HTTPS", - Long: `ship - Ship apps and static sites to a VPS with automatic HTTPS - + Long: banner + ` A CLI tool for deploying applications and static sites to a VPS. -Uses Caddy for automatic HTTPS and systemd for service management.`, + +How it works: + Ship uses only SSH to deploy - no agents, containers, or external services. + It uploads your binary or static website, creates a systemd service, and configures Caddy + for automatic HTTPS. Ports are assigned automatically. Your app runs directly on the VPS + with minimal overhead. + +Requirements: + • A VPS with SSH access (use 'ship host init' to set up a new server) + • An SSH config entry or user@host for your server + • A domain pointing to your VPS`, RunE: runDeploy, SilenceUsage: true, SilenceErrors: true, -- cgit v1.2.3