Skip to content
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

--theme: return a list of all themes if the theme argument doesn't match #3009

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

monkeydom
Copy link

This turns:

[bat warning]: Unknown theme 'SolarizedDark', using default.

Into a more actionable:

[bat warning]: Unknown theme 'SolarizedDark', using default. (Available themes: 1337, Coldark-Cold, Coldark-Dark, DarkNeon, Dracula, GitHub, Monokai Extended, Monokai Extended Bright, Monokai Extended Light, Monokai Extended Origin, Nord, OneHalfDark, OneHalfLight, Solarized (dark), Solarized (light), Sublime Snazzy, TwoDark, Visual Studio Dark+, ansi, base16, base16-256, gruvbox-dark, gruvbox-light, zenburn)

Might be worth doing a fuzzy prefix match too maybe?

@monkeydom monkeydom changed the title Dom/all themes --theme: return a list of all themes if the themes argument doesn't match Jun 27, 2024
@monkeydom monkeydom changed the title --theme: return a list of all themes if the themes argument doesn't match --theme: return a list of all themes if the theme argument doesn't match Jun 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant