-
Notifications
You must be signed in to change notification settings - Fork 283
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
Allow disabling color codes in the output #1490
Comments
Maybe you could use this option?
|
Yeah, as @o2sh said, if you're looking for something machine-readable then you might want to use onefetch -o json | jq '.infoFields[].[]' Though it might be reasonable to reinterpret the |
ok, |
If you're interested in making a PR for finer color controls, here's an example of how I implemented |
Summary 💡
It would be nice to have an option to disable shell color codes and make the output of onefetch easier to parse.
For example
is problematic once you want to collect some stats across many repos.
Similar neofetch issue: dylanaraps/neofetch#753
Motivation 🔦
I want to collect repo summaries across many projects.
produces a file which is difficult to parse without stripping the shell color codes first.
The text was updated successfully, but these errors were encountered: