gitlabCodeSearch
一个用于在所有GitLab项目中搜索关键字并将结果导出为Excel的工具,支持通过命令行或Docker运行。
• Copy the embed code to showcase this product on your website
• Share on X to spread the word about this amazing tool
项目地址:https://github.com/eryajf/gitlabCodeSearch日常工作中,我们在做一些变更的时候,经常会遇到对gitlab所有项目检索某个关键字的需求,这个工具,正是为解决这一需求而生的。## 如何使用先创建gitlab的token,这一步就不介绍如何创建了。注意此token需要给:api 和 read_api 两个权限。通过环境变量能够快速运行项目,如果你熟悉go语言,则可以自己编译二进制,如果不熟悉,也可以直接在releases当中下载已经编译好的二进制。shgcs search -u 'https://gitlab.xxx.com' -t 'xxxxxxxxxxx' -w '测试'效果如下:
运行成功以后,会自动在项目运行目录下将结果输出为Excel。你也可以直接通过docker来运行:shdocker run -it registry.cn-hangzhou.aliyuncs.com/ali_eryajf/gcs gcs search -u 'https://gitlab.xxx.com' -t 'xxxxxxxxxxx' -w '测试'