gacm
v1.2.11
Published
git account manage
Downloads
7
Readme
English | 简体中文
Features
✨ Seamless switching of GIT account and npm registry
🚀Minimalist operation,just like nvm
😊 gacm ls Automatically add local git account or npm registry
👋 gnrm Flexible configuration, pollution-free,distinguish package manager
Getting Started
pnpm add gacm -g
yarn add gacm -g
npm install gacm -g
Usage
switch git account
## just like nvm
## View the user list, and local users will be automatically added
gacm ls
## Switch git account
gacm use xxx --local
gacm use xxx --global
## Add user,--alias Optional define user alias
gacm add --name xxx --email xxx [--alias xxx]
## Define user alias
gacm alias xxxx xxxx
## delete user
gacm delete user
switch npm registry
## just like nvm
## View the registry list, and local registry will be automatically added
gnrm ls [-p xxxx]
## Switch npm registry default npm
gacm use xxx [-p yarn]
gacm use xxx [-p cnpm]
## Add registry--alias Optional define registry alias
gacm add --name xxx --registry xxx [--alias xxx]
## Define registry alias
gacm alias xxxx xxxx
## delete registry
gacm delete xxx
License
MIT License © 2022 阿乐去买菜(kinfuy)