diff options
| author | Clawd <ai@clawd.bot> | 2026-02-16 17:02:36 -0800 |
|---|---|---|
| committer | Clawd <ai@clawd.bot> | 2026-02-16 17:02:36 -0800 |
| commit | a48a911cc29ec7571ac07008bea3801745d5c00d (patch) | |
| tree | 0a23fb911893f66d3af0702017c83882d618472a /cmd/ship/root_v2.go | |
| parent | 4f3e9acde1beffc7eefe2a04fc6e4e98cc809d4b (diff) | |
Add --domain flag support to v2 deploy
Allows specifying a custom domain instead of using the auto-generated
subdomain pattern. Usage: ship . --domain bdw.to
Diffstat (limited to 'cmd/ship/root_v2.go')
| -rw-r--r-- | cmd/ship/root_v2.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/ship/root_v2.go b/cmd/ship/root_v2.go index e886a7e..1be6745 100644 --- a/cmd/ship/root_v2.go +++ b/cmd/ship/root_v2.go | |||
| @@ -70,6 +70,7 @@ func runDeployV2(cmd *cobra.Command, args []string) error { | |||
| 70 | 70 | ||
| 71 | // Get flag values | 71 | // Get flag values |
| 72 | opts.Name, _ = cmd.Flags().GetString("name") | 72 | opts.Name, _ = cmd.Flags().GetString("name") |
| 73 | opts.Domain, _ = cmd.Flags().GetString("domain") | ||
| 73 | opts.Health, _ = cmd.Flags().GetString("health") | 74 | opts.Health, _ = cmd.Flags().GetString("health") |
| 74 | opts.TTL, _ = cmd.Flags().GetString("ttl") | 75 | opts.TTL, _ = cmd.Flags().GetString("ttl") |
| 75 | opts.Env, _ = cmd.Flags().GetStringArray("env") | 76 | opts.Env, _ = cmd.Flags().GetStringArray("env") |
