Awesome! - We might have a story on how to ship partial CLI parsers soon :D Imagine accepting ports could be reusable code that works the same in every CLI. This might actually enable that. Means even less work needed to ship services. Suuuper exciting! https://github.com/rust-lang-nursery/cli-wg/issues/37#issuecomment-392527822 …
-
Show this thread
-
Here's an example by
@killercup to set log levels. -v prints warnings -vv prints info -vvv prints debug -vvvv prints trace Adding this behavior to your CLI is 2 lines. Can't think of a more consise way to reuse this logic. https://crates.io/crates/clap-verbosity-flag …1 reply 0 retweets 3 likesShow this thread
Anyway. The step after this is to put out a few more modules. And the step after that is to finally get our man page generation working. Close, but need one more patch to clap before we can make it happen. Imagine never having to guess what env vars a CLI takes. That'd be nice.
5:44 AM - 29 May 2018
0 replies
0 retweets
1 like
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.