-
-
Notifications
You must be signed in to change notification settings - Fork 1.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
Explicitly doc the usage of ArgEnum #3638
Comments
You have several routes to the documentation
|
@epage I totally ok with the suggestions as a user who have just found the correct usage. But as for new learners stumbling across this, they might still find it a hard time looking for answers. In their (including mine) points of views, the doc is not clear and easy enough, especially comparing to that of C#. I am really impressed by Rust language and its safety features. That's why I want the ecosystem around the language could be more friendly to new learners. I hope the usage is only one search away, not nested in links within links imho. |
Isn't that similar to our tutorial, with the main difference being that our code isn't inline? The lack of inline code is not great but its a side effect of making our code samples testable. If we switched to a mdbook, we could have them inline. #3189 is exploring the needs for our derive documentation. What I'm trying to understand is a concrete user need that we can explore improving or a concrete solution we can evaluate applying. |
I fully agree with this! |
Without anything actionable and the fact that the reported problem (documenting |
Please complete the following tasks
Clap Version
3.1.9
Describe your use case
Searching google for "rust clap enum example" yields no results or outdated macro
arg_enum
.The expected answer should be:
Describe the solution you'd like
Explicitly show the example and usage in
README.md
.Alternatives, if applicable
No response
Additional Context
No response
The text was updated successfully, but these errors were encountered: