picocli
picocli copied to clipboard
Trim single quotes with setTrimQuotes(true)
Hi, I use single quotes around a json string that I pass to the cli. I expected that the option TrimQuotes
would trim them but it seems that currently only double quotes are trimmed.
Thank you for raising this. I will look into supporting single quotes as well.
The current implementation supports many use cases (see #595 and #738 for background). This may take me some time, to make sure we get the edge cases right, like single and double quote combinations.
Test cases and/or a pull request would be great. :-)