clap
clap copied to clipboard
clap_complete documentation should clearly point to CommandFactory
Please complete the following tasks
- [X] I have searched the discussions
- [X] I have searched the open and rejected issues
Clap Version
clap_complete 4.5.1
Describe your use case
i am using clap_complete for the first time, and it took me a bit of poking around to figure out how to get a Command from a Parser (plus having good enough intuition to guess that such a function must exist, otherwise i may have given up)
Describe the solution you'd like
add something like "for Parser
users, see clap::CommandFactory::command
" near the top of the clap_complete crate documentation.
Alternatives, if applicable
No response
Additional Context
No response