-
-
Notifications
You must be signed in to change notification settings - Fork 30
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
Set output options from CLI #34
Comments
This is a great idea. If you (or anyone else) wanted to send a PR adding a command-line flag, please go ahead. Using a library like |
Sounds good. What to use for the compiler flag? The CPP language extension? |
Or perhaps a config file instead? Could use that to e.g. set indentation as well. |
Ideally, options for the CLI
I guess we could also be able to set defaults with compiler flags, but that is somewhat unusual for Haskell programs, especially when the ability to set the options in a config file, etc is available. However, I don't know if there are many people using the CLI alias pretty-simple='pretty-simple --color light-bg' However, if you also wanted to be able to specify options in a config files or environment variables, then please feel free to send PRs for that! |
Note that |
I use a light background for my terminal, so using pStringLightBg would be more useful in my case. I was thinking an executable flag, but maybe a better option would be a compiler flag? Of course no reason not to have both.
The text was updated successfully, but these errors were encountered: