now i need to make a cmd line parse tool,so i want to use clap crate.But when i check the docs of clap, i find that the APP struct or trait has been deleted. On the same time, code written by AI or written by people always use the APP. What struct or trait should i use now?
If you open the documentation of
clap, after some quick links and explaining what the crate is for, the very next section is titled "Example". It then links to a tutorial and reference for the derivation macro. Further down are multiple entire sections of documentation, including a cookbook full of examples.
Your first stop should always be the documentation. Always.
ok, I will read docs.