Re: [CLI] Handling sub commands?

2024-08-11 Thread Eric Pugh
For Solr, I ended up having some slightly brittle logic to check if the argument is “zk” and then remove that one argument from the list of args, and then pass it on to the sub command (which didn’t expect a leading “zk” in it’s args).It works, but one wrinkle is that you would expect “bin/s

Re: [CLI] Handling sub commands?

2024-08-11 Thread Gary Gregory
FWIW, I just pushed out a release candidate for 1.9.0 yesterday but I'm open to improving the API in 1.10.0 :) Gary On Sun, Aug 11, 2024 at 8:12 AM Eric Pugh wrote: > > For Solr, I ended up having some slightly brittle logic to check if the > argument is “zk” and then remove that one argument f