~ireas/rusty-man#33: 
Add --type argument

We should add a type argument to the CLI to allow selecting an element of the given type, e. g. a module or a macro. This can be used if there are multiple elements with the same name, e. g. std::env.

Implementation: Sources::find (called from main) already has a ty argument. We just have to add a new option to Args using doc::ItemType (which already implements FromStr).

Status
REPORTED
Submitter
~ireas
Assigned to
No-one
Submitted
11 months ago
Updated
11 months ago
Labels
good first issue ui