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
#[command] docs are missing #5125
Comments
More information is needed on what is missing as we do cover this in the documentation This is covered in the tutorial
And in the reference And in the cookbook |
I was just expecting it since there are docs at the top level under |
There are not top-level docs for |
Oh, that makes sense. Sorry for the confusion. Macro docs in Rust still confuse me. |
rustdoc has no support for proc macro attributes which makes things more difficult in general. The above links are my experimentation in making up for that problem. |
Please complete the following tasks
Clap Version
4
Describe your use case
I'm trying to figure out how to use
#[command]
on a derivedParser
. Docs for#[arg]
seem to exist, so I was expecting these as well. It's a shame there's probably not a surefire way to ensure these are exhaustive, since they are macro attributes, but still beats reading through all the examples for what#[command]
takes.Describe the solution you'd like
Document
#[command]
.Alternatives, if applicable
No response
Additional Context
No response
The text was updated successfully, but these errors were encountered: