base64 command for MoonX.
moonx cli/base64 input.txt
moonx cli/base64 --decode encoded.txt > decoded.txt
printf 'hello' | moonx cli/base64 -w 0| Option | Description |
|---|---|
| -d, --decode | Decode input; embedded newlines are accepted. |
| -i, --ignore-garbage | Discard non-alphabet bytes while decoding. |
| -w VALUE, --wrap VALUE | Set output width; 0 disables wrapping and the final newline. Default: 76. |
| --help | Show help. |
| --version | Show the version. |
| -D | Decode input; embedded newlines are accepted. |