Flagsmith / Flagsmith/flagsmith-cli
Improve hints around `flag create`
- Lenguaje dominante
- Go
- Estrellas
- 12
- Forks
- 3
- Merge medio
- 14 h 56 min
- PR fusionados (30 d)
- 8
Descripción
Testers report confusion upon seeing this message:
```
matvei@macstream ~ % flagsmith flag list
No flags.
matvei@macstream ~ % flagsmith flag create
Error: flags exist per environment, so there is nothing to create
To create the feature itself, run `flagsmith feature create `.
```
It seems we can do a better job directing users to `feature create`, e.g.:
```
matvei@macstream ~ % flagsmith flag create
Error: flags can only be changed, not created.
To create a feature, run `flagsmith feature create `.
To change a flag, run `flagsmith flag update `.
```
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Línea de trabajo
Locate the implementation of the `flag create` command and the code that produces its current error message. Update the guidance to explain that flags are changed rather than created, point users to `feature create` and `flag update`, and verify the resulting command output.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- go
- Área
- cli
- Tipo de issue
- Error
- Dificultad
- 2/5
- Tiempo estimado
- 1-3 horas
- Estado de actividad
- Tranquilo
- Claridad
- Bien especificado
- Aptitud para principiantes
- 72/100