https://github.com/warchant/tee-cli
https://github.com/warchant/tee-cli
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/warchant/tee-cli
- Owner: Warchant
- License: mit
- Created: 2023-03-27T14:02:55.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-06-27T15:21:47.000Z (over 2 years ago)
- Last Synced: 2025-03-04T22:46:09.746Z (10 months ago)
- Language: Python
- Size: 8.79 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# tee-cli
This tool is a python implementation of a `tee`.
- It captures stderr+stdout from a `command` and will save it to a file and will print them to a console.
- It propagates `command` exit code correctly.
```bash
tee-cli --help
usage: tee-cli [-h] [-o OUTPUT] command
positional arguments:
command Command to run
options:
-h, --help show this help message and exit
-o OUTPUT Path to output log file with stdout+stderr content
```