@axetroy/gpmx

Git Package Manager, make you manage the repository easier

WARNING: This module has been renamed to @axetroy/gpm. Please install it instead
Last updated 3 years ago by axetroy .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @axetroy/gpmx -g
SYNC missed versions from official npm registry.

gpmx

Build Status Dependency License Node

Git Package Manager, make you manage the repository easier

Features

  • [x] support Github, Gitlab, etc
  • [x] add, remove, clean, cache, list commands
  • [x] score, humanize, easier to manager
  • [ ] add repository in multi directories

Installation

npm install @axetroy/gpmx -g

Requirement

  • nodejs>=6.9
  • npm || yarn
  • Git

Supports

  • [x] Windows
  • [x] Linux
  • [x] MacOS

Usage

gpmx -h

# print out

  Usage: gpmx <command> [options]


  Commands:

    add|a [options] <repo>            clone repo into local dir
    remove|rm [key]                   remove a repo
    list|ls [key]                     display the all re po
    clean|cl                          clear the cache
    search|sr <key>                   @Deprecated, search repository by a key
    find|fd <key>                     find repository by a key
    relink|rl                         relink the base dir which contain repositories if you delete repository manually
    config|cf <action> [key] [value]  handle the config, read and set
    runtime|rt                        print the program runtime, useful for submit a issue
    import|ip [options] <dir>         register a local repository to GPM

  Git Package Manager, make you manage the repository easier

  Options:

    -h, --help     output usage information
    -V, --version  output the version number

Config

this is a default config, it will be generated in ~/.gpmx by default

~/.gpmx/gpmx.config.json

{
  "name": "gpmx",
  "base": "gpmx"
}
  • name: user name
  • base: the repositories base dir, all repository will be install in this dir

Example

gpmx add https://github.com/zeit/release.git
gpmx add https://github.com/axetroy/gpm.git
gpmx add https://github.com/axetroy/ymli.git

gpmx ls

# print out
github.com: 
  axetroy: 
    gpm:  /home/axetroy/gpmx/github.com/axetroy/gpm
    ymli: /home/axetroy/gpmx/github.com/axetroy/ymli
  zeit: 
    release: /home/axetroy/gpmx/github.com/zeit/release

Uninstall

npm uninstall @axetroy/gpmx -g
rm -rf ~/.gpmx      # all file, cache, contain in this dir

Contribute

git clone https://github.com/gpmer/gpm.js.git
cd ./gpm
yarn
./bin/gpmx

You can flow Contribute Guide

License

The MIT License

Current Tags

  • 5.2.0                                ...           latest (3 years ago)

31 Versions

  • 5.2.0 [deprecated]           ...           3 years ago
  • 5.1.9                                ...           3 years ago
  • 5.1.8                                ...           3 years ago
  • 5.1.7                                ...           3 years ago
  • 5.1.6                                ...           3 years ago
  • 5.1.5                                ...           3 years ago
  • 5.1.4                                ...           3 years ago
  • 5.1.3                                ...           3 years ago
  • 5.1.2                                ...           3 years ago
  • 5.1.1                                ...           3 years ago
  • 5.1.0                                ...           3 years ago
  • 5.0.2                                ...           3 years ago
  • 5.0.1                                ...           3 years ago
  • 5.0.0                                ...           3 years ago
  • 4.3.0                                ...           3 years ago
  • 4.2.0                                ...           3 years ago
  • 4.1.0                                ...           3 years ago
  • 4.0.1                                ...           3 years ago
  • 4.0.0                                ...           3 years ago
  • 3.3.0                                ...           3 years ago
  • 3.2.0                                ...           3 years ago
  • 3.1.0                                ...           3 years ago
  • 3.0.1                                ...           3 years ago
  • 2.1.0                                ...           3 years ago
  • 2.0.5                                ...           3 years ago
  • 2.0.4                                ...           3 years ago
  • 2.0.3                                ...           3 years ago
  • 2.0.2                                ...           3 years ago
  • 2.0.1                                ...           3 years ago
  • 2.0.0                                ...           3 years ago
  • 1.0.0                                ...           3 years ago
Maintainers (1)
Downloads
Today 1
This Week 1
This Month 1
Last Day 0
Last Week 31
Last Month 62
Dependencies (16)
Dev Dependencies (3)
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |