Hi, everyone



Currently, the seatunnel-core-base module is hard to scale inclusing(parse the 
args, add new command).

Here, introduce jcommander framework to replace `scopt`, https://jcommander.org/

- JCommander is an annotation-based library for parsing command-line parameters

- With JCommander, we can offload tricky tasks such as parsing, validation, and 
type conversions, to allow us to focus on our logic.

- `scopt` is written by scala, we can not use it in java.

- JCommander is released under the Apache 2.0 license.




```

class TestCommand {

    @Parameter(names={"--length", "-l"})

    int length;

    @Parameter(names={"--size", "-s"})

    int size;

}

```


Looking for your idea, thanks.


best, 
leo65535

Reply via email to