You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So far, I didn't directly expose clap types in the API, but I don't really see a problem with having anstyle types in the API, that crate seems totally stable.
I think if we did a new-type wrapper around the Styles type from clap, we'd probably be able to expose the same API and still not be worried that uprev'ing clap (as our dependency) would break our public API?
And then otherwise we could have a styles argument that's similar to the example you show -- I'm thinking it would be a top-level only feature of a Conf struct?
I think that would be a nice patch -- I haven't thought through all the details but I can't see any problems with the idea. Let me know what you think
Color can make it easier to read the help text - e.g.:
In clap this is configured using clap::builder:Styles
It would be nice to support something similar. I'm happy to work on a PR for this if you're interested in this change.
The text was updated successfully, but these errors were encountered: