MUX(1)

πŸ’– MUX(1) πŸ’–

User Commands · mux ✨

okay bestie, listen UP, because mux is genuinely one of those little tools that does one thing and does it flawlessly πŸ’…


🌸 NAME 🌸

mux β€” mux streams of input events πŸ¦‹

like… it multiplexes them. it's literally in the name. iykyk.


✨ SYNOPSIS ✨

mux [-h | [-s size] -c name | [-i name] [-o name]]

look at her. three modes, one command. main character energy fr fr πŸ‘‘


πŸŽ€ DESCRIPTION πŸŽ€

mux streams of input events. that's the whole vibe. it takes input events, it makes muxers, it wires them together, and it lets the events flow where they need to go 🌈

here's the thing though β€” the flags are the description on this one, so let's go through every single one, no skipping, periodt πŸ’œ

  • -h β€” show this message and exit. the classic "hey bestie, what do you do" flag. shows you the message and then peaces out πŸ™ˆ
  • -s size β€” the muxer's queue size. default is 100. it's giving "how many events can we hold before things get real" πŸ’€
  • -c name β€” the name of a muxer to create. and yes, it's repeatable β€” make as many as your heart desires ✨
  • -i name β€” the name of a muxer to read input from, or to switch on. also repeatable in switch mode πŸ”₯
  • -o name β€” the name of a muxer to write output to. yep, repeatable too 🫢
so like, -c is your "make a muxer" girlie, -i is your "read from / switch on" girlie, and -o is your "write out to" girlie. you can stack -i and -o as many times as you want, and in switch mode -i is repeatable too. it's a whole ecosystem bestie 🌸

πŸ’« SEE ALSO πŸ’«

go read those next, no cap. they're the friend group 🧚


and that's the whole page!! mux 0.6.4 dropped way back in May 2022 and honestly? still iconic. mwah πŸ’‹