airlift / airline

Java annotation-based framework for parsing Git like command line structures
Apache License 2.0
846 stars 138 forks source link

Allow mutually exclusive required options #79

Closed rguillome closed 2 years ago

rguillome commented 3 years ago

As this option in picocli, it would be nice to have a way to provide mutually exclusive options :

https://picocli.info/#_mutually_exclusive_options

I will make a PR for this one

electrum commented 3 years ago

Thanks for your interest in your project. We've actually planned on deprecating this for a while, and have ourselves switched to Picocli. We recommend Airline 2 or Picocli as a replacement.

rguillome commented 3 years ago

Ok I didn't see this information before 😞

Presto is still using it for its CLI spark launcher. I will recommend them to migrate ! Cheers,

electrum commented 3 years ago

Presto is a legacy Facebook project. All of the creators (including me) and the community have moved on to Trino. We encourage you to do the same!

rguillome commented 3 years ago

Hi @electrum, it's not the best place to discuss between Presto and Trino but since we run on AWS and I thought Athena and EMR (with presto-on-spark) don't rely on trino but on presto. I would be pleased to have an exchange with you. What would be the best place to do it ?

electrum commented 3 years ago

@rguillome please join us on the Trino Slack. I’m user david on there.