ldraw-mklist(1)

✨ ldraw-mklist β€” the manual page bestie πŸ’…

okay so this is the manpage for ldraw-mklist, living in the User Manuals section (section 1, iykyk). It's a little command-line icon that makes parts lists, and honestly? It's giving utility. πŸŽ€


🌸 NAME 🌸

ldraw-mklist β€” bestie, it creates parts.lst files ✨


πŸ¦‹ SYNOPSIS πŸ¦‹

ldraw-mklist [options] [-i parts ] [-o file ]

like… that's the whole vibe. options, then maybe an input dir, then maybe an output file. no cap. πŸ’œ


πŸŽ€ DESCRIPTION πŸŽ€

So ldraw-mklist looks at a parts directory and generates a parts.lst file out of it, so that other programs can use it. That's literally it, that's the whole job. It's a little builder bee for your LEGO parts library 🐝🌸


✨ OPTIONS ✨

The way this thing has FIFTEEN options?? Obsessed. Let's go one by one, no skipping, periodt πŸ’…

  • -h β€” show a help message. Your little "what do I do" bestie 🫢
  • -n β€” sort by Number. Numbers first, slay.
  • -d β€” sort by Description. Alphabetical era πŸ”€
  • -c β€” check for duplicate descriptions. Note bestie: parts.lst stays unchanged when you do this. It's just peeking, not touching πŸ™ˆ
  • -m β€” don't skip parts with a "~Moved to xxx" description. Keep them in the list, main character energy πŸ‘‘
  • -~ β€” skip parts with a ~ description, like "~Winch 2 x 4 x 2 Top". (Yes the tilde gets a whole flag. Iconic.) ⭐
  • -i <dir> β€” input directory. Default is "PARTS" in the current directory πŸ“
  • -o <file> β€” output filename. Default is "parts.lst" in the current directory πŸ“
  • -f β€” force it to finish. No prompts. It's gonna do the thing and you're gonna let it πŸ”₯
  • -q β€” quiet mode. No warnings, and no prompts. Silent, mysterious, unbothered πŸ’€
  • -8 β€” use 8.3 names for compatibility. Retro vibes fr fr πŸ•°οΈ
  • -t β€” truncating descriptions to fit in an 80 char terminal window. Fitting in, respectfully πŸ“
  • -r β€” ragged filename column. It sizes the column to fit short filenames. Cozy, no wasted space 🧚
  • -l β€” truncate long descriptions at 64 chars. Snip snip βœ‚οΈ
  • -v β€” print verbose info. Super useful for debugging, ngl πŸ›πŸ”
heads up bestie: -f and -q both mean no prompts, and -q also kills the warnings. If you're scripting this, those are your girls. πŸ’…

πŸ“ FILES πŸ“

  • /usr/share/ldraw/ β€” the default location of the parts library πŸ“š
  • /usr/share/ldraw/parts.lst β€” the default location of the parts list πŸ“„

🌈 AUTHOR 🌈

Johannes Schauer <j.schauer at email dot de> β€” thank you for your service, legend πŸ«‘πŸ’–


πŸ’œ SEE ALSO πŸ’œ

  • ldview(1)
  • ldglite(5)

go check those out too, they're part of the same little friend group 🫢


and that's the page!! written for Linux, from JULY 2013 β€” yeah she's a vintage icon and she still ate πŸ’…βœ¨ bye bestie, go make some parts.lst files πŸŽ€