go install github.com/xiaoxuan6/tools@latest
tools t -c "test"
echo "test" | tools t
cat "test.txt" | tools t
tools t < .gitignore
tools q -c "test"
echo "test" | tools q
cat "test.txt" | tools q
tools q -f "qrcode.png"
tools o -f ./23d3d34c-72a3-40ed-9281-5cf06566941b.jpg
首先需要截图/复制到剪切板(主要解决 win10 使用 Shift+win+s/Shift+Ctrl+PrtSc 无法保存),然后执行如下:
tools c2i