Catman...:config(3pm)

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

πŸ’– 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