jcommander
jcommander copied to clipboard
Command line parsing framework for Java
Please add ANSI colors too. Thank you.
Hey. Not a big deal but I'm not really fond of the usage output since 1.30 (quite messy to my taste - the previous "nearly one line" was really more...
If using a `converter` (not `listConverter`) to convert individual strings of a list parameter to enum values, it would be nice to have the same check for valid values as...
Using JCommander 1.72 No issues when passing dynamic parameters directly in the cmdline. But moving these into a separate file using the @syntax will make JCommander ignoring these params. I...
Hello. You have `com.beust.jcommander.Parameter#converter` to easy write user converters for list values, but `com.beust.jcommander.DynamicParameter` has no such option. But it may be helpful for map also! So instead of just...
setCaseSensitiveOptions does not work for parameters like someParameter2=2 Example unit Test: ```java import org.junit.Assert; import org.junit.Test; import com.beust.jcommander.JCommander; import com.beust.jcommander.Parameter; import com.beust.jcommander.Parameters; public class JCommanderTest { private String[] testValues =...
When I run the command user-create, I get: user-create: The following options are required: --role-name], [--password], [--role-id [--username], [--email] | Why does role-name has no open bracket? What is the...
I would like to support something like: `java Main -Da=b -De -Dc=d` Here the second argument doesn't provide a value. This is a common practice with Maven plugins (for example...
I have a CLI parser that is using JCommander. Overall I'm pretty happy with the results, but I've got an issue where the error message that is specified is when...
Hi, I have a _DynamicParameter_ defined as ``` @DynamicParameter(names = { "-t", "--attribute" }, required = true, description = "Attribute to be set in the form 'Name'" + AttributeValidator.SEPARATOR +...