We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
TODO:
The text was updated successfully, but these errors were encountered:
Work in progress to allow users to customize the color scheme via sys…
a94c46c
…tem properties (#84). Closes #80
The below code snippet shows how a color scheme can be used to configure the usage help message style:
// see also CommandLine.Help.defaultColorScheme() ColorScheme colorScheme = new ColorScheme() .commands (Style.bold, Style.underline) // combine multiple styles .options (Style.fg_yellow) // yellow foreground color .parameters (Style.fg_yellow) .optionParams(Style.italic); CommandLine.usage(annotatedObject, System.out, colorScheme); ...
==== End User Overrides
The following system properties override the color scheme styles. This allows end users to adjust for their individual terminal color setup.
.System Properties to Override the Color Scheme
picocli.color.commands picocli.color.options picocli.color.parameters picocli.color.optionParams
For example:
java -Dpicocli.color.options=blink,blue -Dpicocli.color.parameters=reverse -cp app.jar com.app.Main
System property values may specify multiple comma separated styles.
Sorry, something went wrong.
ddec105
Documented system property to let end users set color scheme (#84), v…
8634adb
…arious small doc improvements.
No branches or pull requests
TODO:
The text was updated successfully, but these errors were encountered: