Test task for JetBrains practice: an implementation of tee util.
Run like a regular Java CLI program with arguments:
java Tee -[OPTION] [FILENAMES]
Options:
- -a : append to files instead of rewriting.
- -e : exit on error writing to any non-pipe output
- Run build.gradle in project folder