Skip to main content

complish

github.com

complish 是一个利用 chatGPT API 为任意 CLI 命令生成 zsh/fish 补全文件的工具。它通过解析帮助文本生成结构化数据,解决用户忘记命令选项的问题。需要自备 OpenAI API Key。

Visit website
complish preview

GitHub 地址:https://github.com/werifu/complish很多 CLI 的作者并不自己提供补全文件,导致用户在使用 CLI 的时候忘记有什么选项了还要倒回去重新看 help 页,complish 通过 chatGPT 的 API 来将帮助文本解析成结构化数据,然后 complish 再生成对应 shell 下的补全文件,本工具需自备 API Key。(瓶颈出现在访问 OpenAI 接口上,对于很大且复杂的 CLI 可能导致 chatGPT 回答时间略长,但是由于一个 CLI 执行一次就足够了,可能问题不大)image比如在 zsh 下给一个 croc 命令生成补全后:48516bde-329e-4358-941b-3d7efcee5da1在 fish 下:image

More in Developer Tools & APIs

SolveHub

API for CAPTCHA and anti-bot tasks in authorized testing

Dev Tools ·

liarjs.dev

Scanner that cross-checks browser JavaScript fingerprint against network layer

Dev Tools ·

AntiBrow

Antidetect browser for managing multiple browser identities with real-device

Dev Tools ·

HostlessWP

Open source CLI to move WordPress to Cloudflare Workers

Dev Tools ·

deed.page

Permanent web hosting with an API for AI agents

Dev Tools ·

Rowflare

Open-source Airtable alternative running on your Cloudflare account

Dev Tools ·