Flagsmith / Flagsmith/flagsmith-cli
Improve hints around `flag create`
- 主要语言
- Go
- 星标
- 12
- 派生
- 3
- 平均合并
- 14 小时 56 分钟
- 30 天内合并 PR
- 8
描述
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 `.
```
贡献指南
这个仓库没有索引到贡献指南
调研方向
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.
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- go
- 领域
- cli
- Issue 类型
- 缺陷
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 活跃度
- 冷清
- 描述清晰度
- 描述清楚
- 新手友好度
- 72/100