Gacm
Git Account Management Tools & NPM Registry Manager
Install / Use
/learn @kinfuy/GacmREADME
<p align="center">
<img width="200px" src="./package/assets/icon.png">
</p>
<p align="center">
<a href="https://www.npmjs.org/package/gacm">
<img src="https://img.shields.io/npm/v/gacm.svg">
</a>
<a href="https://npmcharts.com/compare/gacm?minimal=true">
<img src="https://img.shields.io/npm/dm/gacm.svg?color=357C3C">
</a>
<a href="https://npmcharts.com/compare/gacm?minimal=true">
<img src="https://img.shields.io/npm/l/gacm.svg?color=blue">
</a>
<a href="https://github.com/alqmc/gacm" target="__blank"><img alt="GitHub stars" src="https://img.shields.io/github/stars/alqmc/gacm?style=social">
</a>
<br>
</p>
<p align="center"> Git Account Management Tools & NPM Registry Manager</p>
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)
