Read from stdin and write to both stdout and files. Use for saving pipe output while still displaying it on screen.
Read from stdin and write to both stdout and files. Use for saving pipe output while still displaying it on screen.
Read standard input and write to both standard output and one or more files simultaneously. Useful for logging command output while monitoring progress.
直接复制以下提示词,发送给你的 AI 助手即可完成安装。
---
name: tee-tool
description: Read from stdin and write to both stdout and files. Use for saving pipe output while still displaying it on screen.
---
# Tee - I/O Multiplexer
Read standard input and write to both standard output and one or more files simultaneously. Useful for logging command output while monitoring progress.
## Usage
```bash
command | tee-tool [options] <file...>
```
## Options
- `-a`: Append to files instead of overwriting
- `-i`: Ignore interrupt signals
## Examples
```bash
echo "data" | tee-tool output.txt
ls -la | tee-tool -a log.txt
make 2>&1 | tee-tool build.log
```
文件内容直接读取自技能仓库,仅供安装前审阅;以实际下载的压缩包为准。