Are you talking about configuring Commons CLI to run shell commands or lambdas (where you'd have those run shell commands)?
Gary On Sun, Jul 21, 2024 at 5:12 AM Eric Pugh <ep...@opensourceconnections.com> wrote: > > Hi all, > > In Solr-land, we have a set of commands that sub commands that each take > various options: > > Bin/solr zk cp > Bin/solr zk ls > Bin/solr zk rm > > Right now we handle picking the right command via the shell (linux) and > command (windows) scripts. Is there any interest or way in having > commons-cli handle figuring out which sub command is being run and calling > it? Or is that beyond the remit of what commons-cli does.. > > For reference, this is where we do our zk logic: > https://github.com/apache/solr/blob/main/solr/bin/solr#L890 and eventually > where we pick the command to run: > https://github.com/apache/solr/blob/main/solr/bin/solr#L1015 > > > > Eric > _______________________ > Eric Pugh | Founder | OpenSource Connections, LLC | 434.466.1467 | > http://www.opensourceconnections.com <http://www.opensourceconnections.com/> > | My Free/Busy <http://tinyurl.com/eric-cal> > Co-Author: Apache Solr Enterprise Search Server, 3rd Ed > <https://www.packtpub.com/big-data-and-business-intelligence/apache-solr-enterprise-search-server-third-edition-raw> > This e-mail and all contents, including attachments, is considered to be > Company Confidential unless explicitly stated otherwise, regardless of > whether attachments are marked as such. > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org For additional commands, e-mail: dev-h...@commons.apache.org