tisonkun commented on PR #20691:
URL: https://github.com/apache/pulsar/pull/20691#issuecomment-1620213027

   @mattisonchao I have experience on build an CLI with GraalVM and PicoCLI - 
https://github.com/korandoru/hawkeye
   
   But I believe it is far more complex than this proposal wants to do. So we 
should evaluate it in another round -
   
   1. GraalVM requires some configs on reflection and our tools have a complex 
dependency so it could be quite challenging to do it.
   2. PicoCLI is, generally, a different tool to JCommander. I'd recommend a 
new project to use PicoCLI as in my personal bias it's well designed. But we 
already heavily use JCommander so even I ever think of that, I ended up with 
giving up.
   
   I'll appreciate it if any contributor can prototyping and share their 
findings but notice here that to migrate an existing project is quite complex 
(think of migrate from Maven to Gradle for Pulsar, or as it happened to BK and 
later reverted). And it should be apart from the scope of this proposal.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to