管理配置
lip 支持配置全局設置,以影響其與遠程服務的交互方式。
查看配置
查看當前全部配置:
sh
lip config list查看某個鍵的值:
sh
lip config get <KEY>示例:
sh
lip config get github_proxy設置配置
設置配置值:
sh
lip config set <KEY> <VALUE>常見配置
github_proxy:GitHub 請求使用的代理 URL。
示例:
sh
lip config set github_proxy https://mirror.ghproxy.com/刪除配置
移除某項配置並恢復默認值(如果有):
sh
lip config delete <KEY>