Bug Description
Running service deploy --marketplace-code postgresql produces no output and no error, but also creates no service.
Steps to Reproduce
npx zeabur@latest service deploy \
--project-id <project-id> \
--marketplace-code "postgresql" \
-i=false --json
Expected: A PostgreSQL marketplace service is created in the project
Actual: Command exits silently with no output and no service created
Also tried with --name "postgresql" — same result.
Suggested Fix
- If
--template flag is required alongside --marketplace-code, the CLI should output a clear error message
- If the marketplace code doesn't match any available item, the CLI should list available codes
- The non-interactive path should have the same validation as the interactive path
Workaround
Use template deploy -f <yaml> with a PREBUILT template YAML instead of service deploy --marketplace-code.
Environment
- CLI version: 0.14.0
- OS: macOS (Apple Silicon)
Bug Description
Running
service deploy --marketplace-code postgresqlproduces no output and no error, but also creates no service.Steps to Reproduce
Expected: A PostgreSQL marketplace service is created in the project
Actual: Command exits silently with no output and no service created
Also tried with
--name "postgresql"— same result.Suggested Fix
--templateflag is required alongside--marketplace-code, the CLI should output a clear error messageWorkaround
Use
template deploy -f <yaml>with a PREBUILT template YAML instead ofservice deploy --marketplace-code.Environment