Categorygithub.com/xiaoxuan6/tools
modulepackage
0.1.2
Repository: https://github.com/xiaoxuan6/tools.git
Documentation: pkg.go.dev

# README

小工具

GitHub Actions Workflow Status GitHub Downloads (all assets, all releases) GitHub Downloads (all assets, latest release) GitHub License GitHub Repo stars GitHub forks GitHub Tag

Install

CMD

go install github.com/xiaoxuan6/tools@latest

安装包

tools 下载地址

Usage

翻译

tools t -c "test"
echo "test" | tools t
cat "test.txt" | tools t
tools t < .gitignore

二维码

generate

tools q -c "test"
echo "test" | tools q 
cat "test.txt" | tools q

scan

tools q -f "qrcode.png"

OCR

tools o -f ./23d3d34c-72a3-40ed-9281-5cf06566941b.jpg 

clipboard2img

首先需要截图/复制到剪切板(主要解决 win10 使用 Shift+win+s/Shift+Ctrl+PrtSc 无法保存),然后执行如下:

tools c2i 

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

No description provided by the author