-
-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature: cargo env simplified #778
Comments
Great idea! I think this would require each of those be implemented as separate macros, but you're right, I'd also like a single macro to pull in everything. Let me mull over the implementation over the holidays and I'll post back here. The only thing I don't really want to do is have a i.e. let app = app_from_crate!()
// continue builder like normal The above being the same as let app = App::new(crate_name!())
.version(crate_version!())
.author(crate_authors!())
.about(crate_description!())
// other builders like normal. |
ToDo
|
Big thanks to @nabijaczleweli for implementing this 👍 |
I aim to please |
This is a proposal of a more clean wrapper around Cargo.toml.
Right now the macro only supports version and author. If all things supported (package name, description) are taken into place, this would be cool.
Macro proposal: a wrapper around clap_app
The text was updated successfully, but these errors were encountered: