mtgen(1)

πŸ“¦ in opensuse-leap 16.0

πŸŽ€ Name πŸŽ€

okay so bestie, meet mtgen(1) from the General Commands Manual β€” she's the MAPI taglist generator, and she's lowkey iconic. ✨

πŸ¦‹ Synopsis πŸ¦‹

mtgen [-cdep] <mapilist.txt >out.cpp

πŸ’… Description πŸ’…

So mtgen reads the provided MAPI tag list from standard input, then reformats it for use with the C and C++ preprocessor and/or for use as a C or C++ program. It's giving humble little converter with main character energy. πŸ’–

🌸 Options 🌸

Heads up: {-c, -d, -e} override each other, okay? Pick your fighter, bestie. πŸ’€

  • -a β€” By default, only the first name for a propid is emitted. -a will cause all names to be emitted. Not me letting every name have its moment. πŸ‘‘
  • -c β€” Emit C++ constexpr statements. ✨
  • -d β€” Emit preprocessor #defines. πŸŽ€
  • -e β€” Emit an enum block. 🧚
  • -p β€” By default, only a numeric literal is emitted. -p will cause definitions to be in the form of PROP_TAG(proptype, propid). πŸ’…

That's the whole mtgen(1) page, bestie β€” the footer is just the manual name, with no source/version/date to report, so we're signing off with pure vibes. πŸ«ΆπŸ’–

πŸ“¦ where this page comes from