tee command for MoonX.
moonx cli/tee@0.2.3 [-ap] [--output-error[=MODE]] [FILE...]| Option | Description |
|---|---|
| -a, --append | Append instead of truncating files. |
| -p | Ignore pipe errors while reporting other output errors. |
| --output-error[=MODE] | Modes: warn, warn-nopipe, exit, exit-nopipe; bare flag selects warn-nopipe. |
| --help / --version | Show help / package version. |
printf 'hello\n' | moonx cli/tee@0.2.3 output.txt
moonx cli/tee@0.2.3 -a output.txt < extra.txt