@axetroy/gpm

๐Ÿ’ŽGit Package Manager, make you manage the repository easier, Power by Typescript & Nodejs

Showing:

Popularity

Downloads/wk

132

GitHub Stars

42

Maintenance

Last Commit

4yrs ago

Contributors

2

Package

Dependencies

26

Size (min+gzip)

37.1KB

License

MIT

Type Definitions

Tree-Shakeable

No?

Categories

Readme

gpm.js

Greenkeeper badge Build Status Dependency License Prettier Node npm version Size

Git Package Manager, make you manage the repository easier

sceenshot

Documentation

็ฎ€ไฝ“ไธญๆ–‡

English

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

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

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100