brentyi / tyro

CLI interfaces & config objects, from types
https://brentyi.github.io/tyro
MIT License
467 stars 23 forks source link

Counter flags? #128

Closed nilsso closed 5 months ago

nilsso commented 6 months ago

First off thank you for tyro, as it's all I've wanted in a CLI utility library.

Quick question: Is there currently any way to accomplish counters, as found in:

Thanks.

brentyi commented 6 months ago

Hello, thanks for your nice words!

This has been on my radar but isn't currently supported. It shouldn't be very hard to implement though, I can add it sometime in the next few days. 🙂