gpm.js
Git Package Manager, make you manage the repository easier
Documentation
Features
- support Github, Gitlab, etc
- add, remove, clean, cache, list commands
- score, humanize, easier to manager
- plugin support, more hook, it can help you do more thing
- support i18n
- add repository in multi directories
Installation
npm install @axetroy/gpm -g
Supports
- Windows
- Linux
- MacOS
Usage
$ gpm --help
gpm 8.1.0 - Git Package Manager, make you manage the repository easier
USAGE
gpm <command> [options]
COMMANDS
add <repo> Add a repository to gpm.
remove [owner] [repo] Remove a repository from registry and disk.
list [key] Display the all repositories in registry.
clean Clear the cache, locate in /home/axetroy/.gpm/temp.
prune Remove the file or dir you don't really need id, like node_modules
find Find repository by a key, You can get all about the repository info.
relink Relink the base directory and gpm registry, like Angular, trigger the $digest in manual.
config <action> [key] [value] A series handler of configurations.
runtime Print the program runtime, useful for submit issue.
help <command> Display help for a specific command
GLOBAL OPTIONS
-h, --help Display help
-V, --version Display version
--no-color Disable colors
--quiet Quiet mode - only displays warn and error messages
-v, --verbose Verbose mode - will also output debug messages
Plugin
Plugin system have been remove after gpm: ^7.1.0
Structure
.
âââ github.com
â  âââ axetroy
â  â  âââ aabbcc
â  â  âââ build-cli -> /home/axetroy/develop/build-cli
â  â  âââ commander.dart
â  â  âââ contributors-stat
â  â  âââ event-emitter.dart
â  â  âââ event-emitter.js
â  â  âââ git-url-parse
â  â  âââ gpm.dart
â  â  âââ gpm.go
â  â  âââ labrador-cli
â  â  âââ labrador-demo
â  â  âââ ng-promise -> /home/axetroy/develop/ng-promise
â  â  âââ nmr
â  â  âââ protocols
â  â  âââ songojs -> /home/axetroy/develop/songojs
â  â  âââ url-parser
â  â  âââ wechatapp-dev-tool-linux
â  â  âââ wxapp-socket
â  â  âââ ymli
â  âââ chentsulin
â  â  âââ electron-react-boilerplate
â  âââ electron
â  â  âââ electron-quick-start -> /home/axetroy/develop/electron-quick-start
â  âââ fenivana
â  â  âââ wx-mina-html-view
â  âââ geeeeeeeeek
â  â  âââ electronic-wechat -> /home/axetroy/develop/electronic-wechat
â  âââ gpmer
â  â  âââ gpm.js
â  â  âââ gpm.ruby
â  âââ lidong1665
â  â  âââ WeiXinProject
â  âââ maichong
â  â  âââ labrador-demo
â  âââ zarknight
â  â  âââ wx-falls-layout
â  âââ zeit
â  âââ nextgram
âââ xxx.net(private git server)
âââ axetroy
â  âââ xxx
â  âââ xxx -> /home/axetroy/develop/xxx
â  âââ xxx -> /home/axetroy/develop/xxx
â  âââ xxx
â  âââ xxx -> /home/axetroy/develop/xxx
â  âââ xxx -> /home/axetroy/develop/xxx
â  âââ xxx
âââ xxx
â  âââ xxx
âââ xxx
âââ xxx -> /home/axetroy/develop/xxx
âââ xxx -> /home/axetroy/develop/xxx
âââ xxx -> /home/axetroy/develop/xxx
Example
gpm add https://github.com/zeit/release.git
gpm add https://github.com/axetroy/gpm.git
gpm add https://github.com/axetroy/ymli.git
gpm ls
# print out
github.com:
axetroy:
gpm: /home/axetroy/gpm/github.com/axetroy/gpm
ymli: /home/axetroy/gpm/github.com/axetroy/ymli
zeit:
release: /home/axetroy/gpm/github.com/zeit/release
Related
https://github.com/axetroy/vscode-gpm
Contributing
git clone https://github.com/gpmer/gpm.js.git
cd ./gpm.js
yarn
./bin/gpm
You can flow Contribute Guide
Contributors
Axetroy |
Windom Z |
---|
License
The MIT License