Improve hints around `flag create`
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 72/100
Research direction
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.
Written by the indexing model from the issue text.
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 <feature>`.
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 <feature>`.
To change a flag, run `flagsmith flag update <feature>`.
- Dominant language
- Go
- Stars
- 12
- Forks
- 3
- Avg merge
- 14h 56m
- Merged PRs (30d)
- 8
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from Flagsmith/flagsmith-cli
-
Difficulty 3/5 1-2 days Newbie friendliness 68/100
Flagsmith/flagsmith-cli#107 ·
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
Flagsmith/flagsmith-cli#95 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 45/100
Flagsmith/flagsmith-cli#93 ·
-
Dependency Dashboard Open
Difficulty 2/5 1-3 hours Newbie friendliness 25/100
Flagsmith/flagsmith-cli#90 ·
-
Spike: TOON Open
Difficulty 5/5 Over a week Newbie friendliness 35/100
Flagsmith/flagsmith-cli#87 ·
All issues in Flagsmith/flagsmith-cli
Similar issues
-
Difficulty 1/5 Under an hour Newbie friendliness 84/100
-
enhancement needs triage
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
kind/cleanup
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
kubernetes-sigs/kueue#15947 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
sympozium-ai/sympozium#627 ·
-
priority: p3
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
googleapis/librarian#7636 ·