puppet-strings(1)

πŸ“¦
version 4.1.3 Β· 4 versions
, in ubuntu resolute, ubuntu stonking

πŸ’– puppet-strings(1) πŸ’–

okay so bestie, welcome to the General Commands Manual entry for puppet-strings β€” yes that's a section 1 command, we're in the big leagues now ✨


πŸŽ€ NAME πŸŽ€

puppet-strings β€” generate Puppet documentation with YARD


🌸 SYNOPSIS 🌸

puppet strings <action>
puppet strings --help

πŸ¦‹ DESCRIPTION πŸ¦‹

So the whole point, the moment, is this: you get complete, user-friendly module documentation by using Puppet Strings. no cap. πŸ’…

Strings takes your tags and your code comments, plus the actual source code, and cooks up documentation for a module's classes, defined types, functions, tasks, plans, and resource types and providers. it's giving factory but for docs 🏭✨

And like, if you're wondering what the vibe is β€” Puppet Strings is based on the YARD Ruby documentation tool. iconic lineage fr fr πŸ‘‘


πŸ’œ ACTIONS πŸ’œ

  • generate β€” generate documentation from files. the classic. the main character 🫢
  • server β€” runs a local documentation server for the modules in the current Puppet environment. localhost era 🌈

✨ OPTIONS ✨

  • --format FORMAT β€” the rendering format to use (peep FORMATS down below πŸ‘‡)
  • --out β€” the output file when using the markdown or json formats
  • --verbose β€” whether to log verbosely. chatty era πŸ’¬
  • --debug β€” whether to log debug information
  • --help β€” show the help screen. bestie behaviour honestly

🌷 FORMATS 🌷

the possible formats are: "markdown", "textile", "rdoc", "ruby", "text", "html", or "none". pick your fighter, no wrong answers (okay maybe "none" is a choice but we respect it) πŸ’–


⭐ EXAMPLES ⭐

If you want to generate a single reference file, use something like:

$ puppet strings generate --format markdown --out REFERENCE.md

You can otherwise generate HTML documentation this way:

$ puppet strings generate

🧚 ADDITIONAL DOCUMENTATION 🧚

See the upstream documentation at: https://puppet.com/docs/puppet/latest/puppet_strings.html

Code examples and style guide can be found at: https://puppet.com/docs/puppet/latest/puppet_strings_style.html


πŸ’€ BUGS πŸ’€

Bugs can be reported to your distribution's bug tracker or upstream at https://github.com/puppetlabs/puppet-strings/issues.

not me manifesting bug-free code but also, you know, if it happens, the link is right there πŸ™ˆ

πŸ‘‘ AUTHOR πŸ‘‘

Louis-Philippe VΓ©ronneau


anyway that's the whole page bestie, every flag, every format, every link, all of it β€” nothing skipped, nothing invented, that's the vibe check passed βœ…

and for the sign-off: this is puppet-strings(1), dated 2024, and honestly? slay. go generate some docs. periodt. πŸ’…βœ¨

πŸ“¦ where this page comes from