POD2README(1)

πŸ“¦
version 1.2.3 Β· 4 versions
, in epel 9

🌸 NAME 🌸

Okay bestie, this is the manual page for pod2readme β€” yep, that's the manual name, from User Contributed Perl Documentation. It intelligently generates a README file from POD. πŸ’–

πŸ’… USAGE πŸ’…

Here's the whole invocation vibe, exactly as written:

pod2readme [-cfho] [long options...] input-file [output-file] [target]

And the description line is: Intelligently generate a README file from POD. ✨

  • -t, --target β€” target type (default: 'readme'). 🎯
  • -f, --format β€” output format (default: 'text'). 🧚
  • -b, --backup β€” backup output file. 🫢
  • -o, --output β€” output filename (default based on target). πŸŽ€
  • -c, --stdout β€” output to stdout (console). πŸ’»
  • -F, --force β€” only update if files are changed. πŸ”₯
  • -h, --help β€” print usage and exit. πŸ‘‘

✨ SYNOPSIS ✨

Try this exact example, bestie:

pod2readme -f markdown lib/MyApp.pm

πŸ¦‹ DESCRIPTION πŸ¦‹

This utility will use Pod::Readme to extract a README file from a POD document.

It works by extracting and filtering the POD, and then calling the appropriate filter program to convert the POD to another format. That's the whole glow-up pipeline, no cap. πŸ’…

πŸ’– OPTIONS πŸ’–

πŸŽ€ --backup πŸŽ€

By default, pod2readme will back up the output file. To disable this, use the --no-backup option. 🫢

🧚 --output 🧚

Specifies the name of the output file. If omitted, it will use the second command line argument, or default to the --target plus the corresponding extension of the --format.

For all intents, the default is README.

If a format other than text is chosen, then the appropriate extension will be added, e.g. for markdown, the default output file is README.md. ✨

🎯 --target 🎯

The target of the filter, which defaults to readme. πŸ‘‘

🌈 --format 🌈

The output format, which defaults to text.

Other supposed formats are github, html, latex, man, markdown, pod, rtf, and xhtml. You can also use gfm instead of github. Similary you can use md for markdown. πŸ¦‹

πŸ’» --stdout πŸ’»

If enabled, it will output to the console instead of --output. πŸ–₯️

πŸ”₯ --force πŸ”₯

By default, the README will be generated if the source files have been changed. Using --force will force the file to be updated.

Note: POD format files will always be updated. 😭

πŸ‘‘ --help πŸ‘‘

Prints the usage and exits. Periodt. πŸ’…

🌸 SEE ALSO 🌸

pod2text, pod2markdown. Go give them a little read too, bestie. πŸ’œ


Okay, that's the page! Footer flavor: perl v5.32.1, dated 2018-11-01. Byeeee πŸ«ΆπŸ’–

πŸ“¦ where this page comes from