fix: invalid --region-id should name list-regions
- Linguagem predominante
- TypeScript
- Estrelas
- 41
- Forks
- 24
- Merge médio
- 1d 3h
- PRs com merge (30d)
- 56
Descrição
Create requires `--region-id` copied from docs or from `elastic cloud serverless regions list-regions`. A typo comes back as a raw 400.
On create (and hosted `create-deployment` if the body is a region error): append `elastic cloud serverless regions list-regions` (or the hosted equivalent). Do not preflight the region list in MVP.
Acceptance: create with `--region-id not-a-region` mentions `list-regions` on stderr. `--json` includes `error.hint`.
Guia de contribuição
Direção de pesquisa
Start at the create command's handling of region errors and the hosted create-deployment path, using the issue's invalid --region-id example to locate both flows. Verify that human-readable stderr mentions list-regions and that --json exposes error.hint, without adding a region preflight.
Escrita pelo modelo de indexação a partir do texto da issue.
Avaliação
- Stack de tecnologia
- typescript
- Domínio
- api, cli
- Tipo de issue
- Bug
- Dificuldade
- 3/5
- Tempo estimado
- 1-2 dias
- Status de atividade
- Ativa
- Clareza
- Claramente especificada
- Facilidade para iniciantes
- 75/100