#map #object #scan #search #utility #language

bin+lib codeclippy

Codeclippy 是一个用于扫描、映射和搜索代码对象的实用工具

1 个不稳定版本

0.0.1 2023 年 9 月 16 日

#81 in #objects

MIT 许可证

40KB
1K SLoC

Codeclippy

Codeclippy 是一个用于扫描、映射和搜索代码对象的实用工具。它有助于为 LLM(语言级模型)服务准备/压缩代码库。

它目前仅限于 Rust,但我们希望将来也能扩展到其他语言。

先决条件

  • Rust 构建工具(cargo、rustc 等)

安装

Rust (CLI)

克隆仓库并使用 Cargo 编译项目

git clone https://github.com/aprxi/codeclippy.git
cargo build --release

然后,将二进制文件从 ./target/release/codeclippy 复制到您的本地路径。

用法

快速入门

列表
codeclipy --help

List code objects

Example:
 codeclippy ls src/

Usage:

Commands:
  ls    List code objects
  help  Print this message or the help of the given subcommand(s)

Options:
  -h, --help     Print help
  -V, --version  Print version

贡献

欢迎为 Codeclippy 贡献。请在 GitHub 仓库上打开一个问题或提交一个拉取请求。

许可证

Codeclippy 在 MIT 许可证下发布。有关更多详细信息,请参阅 LICENSE。

依赖项

~4–13MB
~147K SLoC