-
Notifications
You must be signed in to change notification settings - Fork 83
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Suggestion: Use ANSI Escape Codes Instead of Third-Party Library for Console Colors #432
Comments
@Praveen005 can you provide an example (possibly a screenshot) of the preview of any existing command by using the |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Background:
Currently, the CLI uses the
github.com/gookit/color
library to handle colored output in the console. While this library does its job well, it introduces an additional dependency that might not be necessary.Suggestion:
I propose replacing the github.com/gookit/color library with ANSI escape codes for coloring text in
utility/color_util.go
Here is how the current functions could be rewritten using ANSI escape codes:
color_util.go
The text was updated successfully, but these errors were encountered: