Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

cli增强 #251

Closed
xushengfeng opened this issue Jul 24, 2024 · 3 comments
Closed

cli增强 #251

xushengfeng opened this issue Jul 24, 2024 · 3 comments
Labels
新需求 新功能和需求 试实现 在代码或测试版实现新需求

Comments

@xushengfeng
Copy link
Owner

更多参数控制截图

@xushengfeng xushengfeng added the 新需求 新功能和需求 label Jul 24, 2024
@xushengfeng
Copy link
Owner Author

version, help, config
action [path][rect] [more]
if(!path) screen shot (delay)

actions:

  • save: path count deltaT (后面两个控制连拍) auto快速保存/剪贴板/快速保存路径
  • ding
  • ocr: engine translate/search
  • imgSearch: engine
  • open text: translate/search 选区/剪贴板 直接传入文字

@xushengfeng
Copy link
Owner Author

xushengfeng commented Aug 29, 2024

-v,--version            13.0.0-beta.1
-h,-help                帮助
--config                打开配置

-i,-input               输入图片,如果空,则截屏
--delay                 延时截屏

动作 [-i] [more]

动作:
-s,--save               保存到路径或剪贴板
        -p,--path       保存的路径
        -n              连拍数
        --dt            连拍间隔(ms)
        --clipborad    保存到剪贴板
-o,--ocr                文字识别
        --engine        引擎
        [mode]
-m,--img                以图搜图
        --engine        引擎
        [mode]
-t,--text               主页面打开文字
        [mode]

文字处理模式,不设置则自动判断
--trans                 翻译
--search                搜索

e-search --delay=100 --clipborad
e-search -o --engine=默认 --trans
e-search -d -i xxx.png

@xushengfeng xushengfeng added the 试实现 在代码或测试版实现新需求 label Aug 31, 2024
@xushengfeng
Copy link
Owner Author

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
新需求 新功能和需求 试实现 在代码或测试版实现新需求
Projects
None yet
Development

No branches or pull requests

1 participant