RUSTDOC-STRIPPER(1)

πŸ“¦
version 0.1.19 Β· 5 versions
, in ubuntu resolute, ubuntu stonking

πŸ’– 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.md by default). Your comments get ✨yeeted✨ into a new home.
  • -g, --regenerate β€” Recreates files with doc comments by reading the doc comments file (comments.md by default). the comeback tour πŸ’«
  • -n, --no-file-output β€” Displays doc comments directly on stdout. 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 .rs will be stripped/regenerated. 🚨 like literally only the .rs girlies 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