ripdoc 0.2.0

Query Rust docs and crate API from the command line
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
# PRODUCTIVITY: Skim any crate APIs/docs through simple cli

- Usage: `ripdoc <COMMAND> [TARGET] [OPTIONS]`
- Basic skim from any directory: `ripdoc print [target]` → printed Markdown with top-level docs and code skeleton
- Can target crates.io (no url needed, just name) or local crate paths
- Get structure only: `ripdoc list [target] [--search/-s term]` → list of modules/macros/types with source locations
- Search within docs: `ripdoc print [target] --search <term>` (combine with `--search-spec name,doc,path,signature` and `--direct-match-only`/`-d` to avoid auto-expanding parents)
- Raw data for tooling: `ripdoc raw [target]` → JSON rustdoc model; useful with `jq`/scripts
- Fetch README: `ripdoc readme [target] [--offline]` → fetches and displays the README; in offline mode, shows latest cached version
- Private/auto trait details: add `--private` and/or `--auto-impls`
- Feature gating flags work the same as with cargo
- Options can now be placed anywhere after the subcommand: `ripdoc print --offline tokio` or `ripdoc print tokio --offline`