Catman...:count(3pm)
π Catman...:count(3pm) π
okay so bestie, welcome to the Catman...:count(3pm) page β that's the Perl User Contributed Documentation section, section 3pm, for the module Catmandu::Cmd::count. pull up a chair, this one's short and sweet π
β¨ NAME β¨
Catmandu::Cmd::count β count the number of items in a bag π
like... it counts. that's the whole job. iconic behavior honestly π
πΈ EXAMPLES πΈ
here's the vibe, fr fr:
catmandu count <STORE> <OPTIONS>
catmandu count ElasticSearch --index-name shop --bag products \
--query 'brand:Acme'
catmandu help store ElasticSearch
so like, first line is the general shape of it β you drop in a <STORE> and whatever <OPTIONS> you want. the second one is a real live example hitting up ElasticSearch with --index-name shop, --bag products, and a --query 'brand:Acme' because we're counting the Acme-brand girlies specifically π
and then catmandu help store ElasticSearch if you wanna know more about that store β go read up, bestie, self-education is main character energy πβ¨
π¦ SEE ALSO π¦
wanna count the number of items coming from an importer instead of a bag? then you want Catmandu::Exporter::Count. different tool, different job, same counting fantasy π
perl v5.40.1 Β· 2026-01-24 β that's the version and the date this page was born, and that's a wrap, bestie π«Ά go count something, slay, periodt β¨π
π¦ 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