cmake-genparsers(1)

πŸ“¦
version 0.6.13 Β· 5 versions
, in debian bookworm, ubuntu jammy, ubuntu noble

✨ NAME ✨

cmake-genparsers β€” okay so bestie, imagine a lil tool that parses your cmake listfiles, finds every function and macro declaration in there, and then generates parsers for them. That's it, that's the whole vibe. πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

cmake-genparsers [-h] [-o OUTFILE_PATH] infilepath [infilepath ...]

πŸ’– DESCRIPTION πŸ’–

Okay so real talk: it parses cmake listfiles, hunts down the function and macro declarations chillin' inside them, and generates parsers for those declarations. Like, it reads your listfiles so you don't have to. Iconic behavior, no cap. πŸŽ€


πŸŽ€ OPTIONS πŸŽ€

  • infilepaths β€” the input file path(s), fr fr. You can hand it one, or a whole little squad of them: infilepath [infilepath ...]. Give it the listfiles, it does the thing. 🫢
  • -v, --version β€” show the program's version number and exit. It's giving "who am I, here's my number, bye." 😌
  • -l {error,warning,info,debug}, --log-level {error,warning,info,debug} β€” picks your log level, and your choices are exactly error, warning, info, or debug. That's the list, no extras, don't @ me. πŸ“‹
  • -o OUTFILE_PATH, --outfile-path OUTFILE_PATH β€” write the results to this file. The default is stdout, so if you don't say anything it just yells into your terminal. πŸ”₯
  • -f {json,yaml,python}, --output-format {json,yaml,python} β€” sets the output format, and your options are exactly json, yaml, or python. Pick your fighter. πŸ’œ
also -h is vibing up in the synopsis but the OPTIONS list never spills the tea on it, so that's genuinely all we got, bestie. πŸ™ˆ

πŸ‘‘ AUTHORS πŸ‘‘

cmake-genparsers was written by Josh Bialkowski <josh.bialkowski@gmail.com>. Shoutout to the author, absolute main character energy. 🌟


🌈 DISTRIBUTION 🌈

The latest version of cmake-genparsers may be downloaded from:

https://github.com/cheshirekow/cmake_format

Go get it, it's free, it's slay. 🧚


Sign-off time: this one's a General Commands Manual page for cmake-genparsers, sourced from Manual, and the date slot? Empty. Not a single date in sight, we love an undated icon. Go forth and parse those listfiles, bestie. πŸ’–βœ¨πŸŒΈ

πŸ“¦ where this page comes from