Flagsmith / Flagsmith/flagsmith-cli
Improve hints around `flag create`
- Langage dominant
- Go
- Étoiles
- 12
- Forks
- 3
- Merge moyen
- 14 h 56 min
- PR mergées (30 j)
- 8
Description
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 `.
```
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Piste de recherche
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.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- go
- Domaine
- cli
- Type d'issue
- Bug
- Difficulté
- 2/5
- Temps estimé
- 1-3 heures
- Activité
- Calme
- Clarté
- Clairement spécifiée
- Accessibilité débutants
- 72/100