Expand description
Build an IntrospectDocument from a clap::Command tree.
Functionsยง
- arg_
kind ๐ - arg_
value_ ๐type - build_
arg_ ๐info - build_
binary_ ๐info - build_
command_ ๐info - build_
document - Build an
IntrospectDocumentforcommandoverlaid with metadata fromregistry. - build_
root_ ๐command_ info - Build a synthetic
CommandInfofor the root/default invocation. - collect_
command_ ids - Collect every
command_id(recursively) emitted by anIntrospectDocument. - derive_
command_ ๐id - Derive the stable command id.
- duplicate_
command_ ids - Assert that every
command_idindocis unique. - is_
help_ ๐or_ version - render_
introspect_ document - Serialize an
IntrospectDocumentas compact JSON.