gacm-rs

Crates.iogacm-rs
lib.rsgacm-rs
version0.0.3
sourcesrc
created_at2023-04-16 14:41:04.142471
updated_at2023-04-19 16:10:46.383481
descriptionGit Account Management Tools & NPM Registry Manager
homepage
repository
max_upload_size
id840616
size38,084
阿乐去买菜 (kinfuy)

documentation

README

GitHub stars

Git Account Management Tools & NPM Registry Manager

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)

Commit count: 0

cargo fmt