# 安装最新版
go install github.com/wychl/gocli@latest
- 复制
echo hello world | gocli copy
- 粘贴
gocli paste
- 压缩
echo hello world | gocli flate compress
- 解压缩
echo hello world | gocli flate decompress
cp .cobra.yaml ${HOME}/.cobra.yaml
cobra-cli add flate
cobra-cli add compress -p 'flateCmd'
cobra-cli add decompress -p 'flateCmd'