clap icon indicating copy to clipboard operation
clap copied to clipboard

clap_complete documentation should clearly point to CommandFactory

Open lolbinarycat opened this issue 5 months ago • 1 comments

Please complete the following tasks

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

lolbinarycat avatar Mar 21 '24 01:03 lolbinarycat