tools

command module
v0.1.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 19, 2024 License: MIT Imports: 10 Imported by: 0

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 

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL