Catman...:stream(3pm)

πŸ“¦
version 1.16 Β· 4 versions
, in debian bookworm, ubuntu noble

✨ Catman...:stream(3pm) ✨

okay bestie, so this is the manual page for Catman...:stream(3pm) β€” a little Perl thing from the User Contributed Perl Documentation corner of the universe, and it is literally the page you want if you're moving data in and out of a Catmandu::FileStore. πŸŽ€


🌸 NAME 🌸

Catmandu::Cmd::stream β€” import and export streams into a Catmandu::FileStore

no cap, that's the whole job. it streams stuff in, it streams stuff out. πŸ’…


πŸ¦‹ EXAMPLES πŸ¦‹

okay so here's the vibe, three examples, all of them iconic, all of them copy-pasteable:

catmandu stream /tmp/data.txt to File::Simple --root t/data --bag 1234

that one? streaming a file from your disk INTO a File::Simple store, with --root t/data and --bag 1234. it's giving "put my data in the bag". 🫢

catmandu stream File::Simple --root t/data --bag 1234 to /tmp/data

and this one is the reverse β€” pulling it back out of the File::Simple store and dropping it at /tmp/data. same --root, same --bag, opposite direction. the way that symmetry ate, honestly. 😭

catmandu help stream

last but never least: ask for help like the main character you are. 🌈


and that's the whole page, bestie β€” this one is short and sweet and we are obsessed. this doc ships with perl v5.36.0 and was dated 2022-12-10, so shoutout to whoever wrote it back then, you ate. πŸ“βœ¨

πŸ“¦ where this page comes from