Catman...:export(3pm)
β¨ NAME β¨
okay so bestie, this page is for Catman...:export β that's the manual name, and it lives in the 3pm section, filed under User Contributed Perl Documentation π«Ά
and what does it do?? it exports items from a store π that's the whole vibe. one job. and it ate.
πΈ EXAMPLES πΈ
like, the entire structure is basically this, no cap:
catmandu export <STORE> <OPTIONS> to <EXPORTER> <OPTIONS>
see the shape of it? you point at a STORE, you toss in your OPTIONS, you say the word to, and then you name your EXPORTER with its own OPTIONS. it's giving "take my stuff and put it over there" π
π¦ real ones, actually running it
pulling stuff out of MongoDB and yeeting it into YAML:
catmandu export MongoDB --database-name items --bag book to YAML
look at her go β¨ --database-name items, --bag book, and then to YAML. immaculate.
π ElasticSearch, but make it fancy
catmandu export ElasticSearch --bag book --sru-sortkeys 'title,,1' --cql-query '(title = "test")'
okay this one is highkey the main character β you got --bag book, you got --sru-sortkeys 'title,,1' (yes, those commas are load-bearing, don't touch them π), and you got --cql-query '(title = "test")' to filter down to just the good stuff. obsessed.
π and when you're confused (no shame, we've all been there)
catmandu help store MongoDB
catmandu help exporter YAML
fr fr, if you don't know what a store or an exporter takes, just ask the help command. it's literally right there. iykyk π
π«Ά quick vibe check: every<STORE>,<OPTIONS>,<EXPORTER>in that synopsis is a placeholder β swap in your actual names before you hit enter, bestie. the angle brackets are not a decoration situation π
and that's the whole page!! written up for perl v5.40.1, dated 2026-01-24 β go forth and export, you absolute icon π
π¦ 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