Wrong color in ui.Warn when terminal.CommandColor is used
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 42/100
Research direction
Start by reproducing the ui.Warn call with terminal.CommandColor("ibmcloud login") and inspect the implementations of ui.Warn and terminal.CommandColor. Trace how color state is handled around the substituted parameter. Done means the text after the yellow command returns to the expected purple color.
Written by the indexing model from the issue text.
Description
The output colors created by this command are incorrect:
ui.Warn("Try using the the '%s' command.", terminal.CommandColor("ibmcloud login"))
The text before the substituted parameter is purple as expected.
The substitute text is yellow as expected.
But the text after that is white instead of purple.
Not a critical error, but want to report it.
- Dominant language
- Go
- Stars
- 35
- Forks
- 53
- Avg merge
- 1d 15h
- Merged PRs (30d)
- 16
Contributor guide
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 IBM-Cloud/ibm-cloud-cli-sdk
-
bug
Difficulty 1/5 Under an hour Newbie friendliness 65/100
IBM-Cloud/ibm-cloud-cli-sdk#327 · 2 comments ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 35/100
IBM-Cloud/ibm-cloud-cli-sdk#491 · 1 comment ·
-
Difficulty 1/5 Under an hour Newbie friendliness 55/100
IBM-Cloud/ibm-cloud-cli-sdk#473 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
IBM-Cloud/ibm-cloud-cli-sdk#417 · 1 comment ·
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
IBM-Cloud/ibm-cloud-cli-sdk#416 · 2 comments ·
All issues in IBM-Cloud/ibm-cloud-cli-sdk
Similar issues
-
optimization optimization:agents-md-curator
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
githubnext/gh-aw-cao#13143 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
blinklabs-io/bursa#904 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
yanet-platform/ipfw-go#129 ·
-
bug confmap/provider/googlesecretmanagerprovider needs triage
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
open-telemetry/opentelemetry-collector-contrib#51273 · 2 comments ·
-
bug: AI Gateway client filter lists "Unknown" twice when NULL and literal Unknown clients coexist Openbug
Difficulty 2/5 1-3 hours Newbie friendliness 90/100