printf 'hello' | moonx cli/base64
moonx cli/base64 -d encoded.txt
moonx cli/base64 -w 0 big.bin # no line wrapping
Options: -d decode (whitespace in the input is ignored), -w N wrapencoded output after N characters (default 76, 0 disables). Standardalphabet with = padding.
With no file operand, an interactive terminal receives an EOF waiting prompt;piped, redirected, and explicit - input remain silent.