Catman...:config(3pm)
π Catman...:config β the manual page, bestie edition β¨
okay so likeβ¦ this is section 3pm of the manual, and the page is literally called Catman...:config. yes the dots are part of it. no we're not changing it. it's giving quirky and we're obsessed π«Ά
πΈ NAME πΈ
Catmandu::Cmd::config β export the Catmandu config π
like, that's it. that's the whole job. it takes your Catmandu config and yeets it out into the world. iconic behaviour honestly.
β¨ EXAMPLES β¨
bestie this page is basically all examples and ngl that's the best kind of page?? here's the group chat receipts πΈ
export config to JSON β just run it, no cap:
# export config to JSON
catmandu config
or any other Catmandu::Exporter β you're not locked in to JSON, live your main character life:
# or any other Catmandu::Exporter
catmandu config to YAML --fix 'delete_field(password)'
π¨ okay so real talk, that --fix 'delete_field(password)' is doing a LOT of heavy lifting here. it's stripping the password field on the way out. keep it. don't be messy with credentials, we don't do that here π
export only part of the config file β you can ask for just a lil slice, a little snack, a my.prefix sized portion:
# export only part of the config file
catmandu config my.prefix to CSV
see how my.prefix slides in before the to CSV?? yeah. that's the vibe. lowkey elegant π
and that's the whole page, gorgeous!! π¦ go forth and export your config, you absolute legend π
this lil slice of documentation came to you from perl v5.40.1, dated 2026-01-24 β so yeah, it's canon, it's official, it's giving documented π mwah, bye!! π
π¦ where this page comes from
- ubuntu resolute: libcatmandu-perl 1.2025-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libcatmandu-perl 1.2025-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms