RUSTDOC-STRIPPER(1)
π NAME π
okay so bestie, say hi to rustdoc-stripper β and like, that's it, that's the whole description. The name is rustdoc-stripper and it does rustdoc-stripper things. no cap, the manpage really said "same word twice" and honestly? iconic. π
β¨ DESCRIPTION β¨
So rustdoc-stripper is your lil doc-comment goblin π§ β it can yank your doc comments out of your source files and stash them somewhere safe, and then put them back when you need them. Obsessed.
Here's everything it can do, no details skipped, fr fr:
π Available options for rustdoc-stripper
-h,--helpβ Displays this help. baby's first flag πΌ ask and it shall answer.-s,--stripβ Strips the specified folder's files and creates a file with doc comments (comments.mdby default). Your comments get β¨yeetedβ¨ into a new home.-g,--regenerateβ Recreates files with doc comments by reading the doc comments file (comments.mdby default). the comeback tour π«-n,--no-file-outputβ Displays doc comments directly onstdout. no files, no clutter, just vibes on your terminal π-i,--ignore[filename]β Ignore the specified file. You can repeat this as much as you need! π«Ά Heads up though: it's only used when stripping files, and it's ignored otherwise.-d,--dir[directory]β Specify a directory path to work on. Optional, so like, use it if you want πββοΈ-v,--verboseβ Activates verbose mode. she talks more now π£οΈ-f,--forceβ Removes confirmation demands. no more "are you sure??" β it just goes π₯-m,--ignore-macrosβ Macros in the hierarchy will be ignored (so only macros with doc comments will appear in the comments file). keeping it selective, we love a curated feed π-o,--comment-fileβ Specify the file where you want to save/load doc comments. pick your own β¨special spotβ¨ instead of the default.-x,--ignore-doc-commentedβ When regenerating doc comments, if doc comments are already present, the stored doc comment won't be regenerated. she respects what's already there π
πΈ the defaults, babes
By default, rustdoc-stripper is run with the -s option:
./rustdoc-stripper -s
IMPORTANT: Only files ending with.rswill be stripped/regenerated. π¨ like literally only the.rsgirlies get touched, don't come for her about anything else.
sign-off, mwah π β this whole page is for rustdoc-stripper version 0.1.19, dated September 2025. go forth and strip responsibly, bestie π¦β¨π
π¦ where this page comes from
- ubuntu resolute: rustdoc-stripper 0.1.19-1 Β· Apache-2.0
- ubuntu stonking: rustdoc-stripper 0.1.19-1 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms