kworkflow / kworkflow/kworkflow
Improve output functions
Nobody has claimed this yet.
- Dominant language
- Shell
- Stars
- 191
- Forks
- 112
- PR merge metrics
- No merged PRs in 30d
Description
Description:
Create a function that displays messages with different colors.
Type: Refactor
Why:
Right now, we are using four types of function that uses different colors:
- say: blue
- complain: red
- warning: yellow
- success: green
This is ok, but we should also provide a way to display messages with a different color that does not mean a specific thing. For example, we should display a message in a yellow color without the need to use a warning function.
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.
Research direction
Start by locating the existing say, complain, warning, and success output functions in the shell code. The work is done when a generic function can display a message in a caller-selected color without relying on a semantic function name; the issue does not identify a specific file or test to run.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- shell
- Domain
- cli
- Issue type
- Refactor
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100