File tree Expand file tree Collapse file tree 1 file changed +31
-0
lines changed Expand file tree Collapse file tree 1 file changed +31
-0
lines changed Original file line number Diff line number Diff line change 1+ ### GVC是什么?
2+
3+ GVC是一个实用工具集合。它集成了一些好用的命令行工具。
4+
5+ ### 子命令简介
6+
7+ ``` bash
8+ homedir % g -h
9+
10+ asciinema Records your terminal in asciinema cast form.
11+ browser Handles data from browser.
12+ cloc Counts lines of code.
13+ git Git related CLIs.
14+ gopher Some useful comand for gophers.
15+ gpt ChatGPT or FlyTek spark bot.
16+ repo Uses remote github/gitee repo as OSS.
17+ ```
18+
19+ ** asciinema** : 终端session录制功能,支持编辑和上传,也支持转换为gif(通过version-manager安装agg后支持)后上传到github/gitee,对于写文档非常有用。
20+ ** browser** : 浏览器数据导出,数据一般存放在$HOME/.gvc/browser_data/目录下。
21+ ** cloc** : 项目代码行数统计,统计项目中使用的各种代码的类型、行数,注释行数,空行数。
22+ ** git** : 系统hosts文件一键更新,加速github访问(需要管理员权限,会自动备份旧的hosts文件)。为git ssh协议适配本地代理,加速github访问,可以一键切换有无代理模式。
23+ ** gopher** : go build命令增强;一键重命名go package;一键安装常用的go项目,例如grpc-go-gen、goctl、gf、dlv、gopls等,可以选择安装。
24+ ** gpt** : 一个基于TUI的ChatGPT/讯飞星火客户端。
25+ ** repo** : 1. vscode、asiinema、gpt、.ssh等配置文件的一键备份和还原,支持github/gitee仓库,敏感信息会自动加密;2、图片一键上传到github/gitee仓库,然后生成markdown可以引用的图片地址。
26+
27+ ### 如何安装?
28+
29+ ``` bash
30+ go install github.com/gvcgo/gvc/cmd/g@latest
31+ ```
You can’t perform that action at this time.
0 commit comments