tee command for MoonX.
printf 'hello\n' | moonx cli/tee -p output.txt
moonx cli/tee -p -a output.txt < extra.txt| Option | Description |
|---|---|
| -a, --append | Append instead of truncating files. |
| --output-error VALUE | Modes: warn, warn-nopipe, exit, exit-nopipe; bare flag selects warn-nopipe. |
| --help | Show help. |
| --version | Show the version. |
| -p | Modes: warn, warn-nopipe, exit, exit-nopipe; bare flag selects warn-nopipe. |