Skip to content
/ gpm.dart Public

💎Git Package Manager, make you manage the repository easier, Power by Dart

License

Notifications You must be signed in to change notification settings

gpmer/gpm.dart

Repository files navigation

gpmx.dart

Build Status License Node

Git Package Manager, make you manage the repository easier

Features

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

Installation

// TODO

Requirement

  • dart

Supports

  • Windows
  • Linux
  • MacOS

Usage

gpmx -h

# print out

  Usage: gpmx <command> [options]

    Git Package Manager, make you manage the repository easier, Power by Dart

  Commands:
    list              display the all repo.
    add <repo>        clone repo into local dir.
    remove            remove a repo.
    clean             clean the temp/cache.
    runtime           print the program runtime, useful for submit a issue.
    relink            relink the base dir which contain repositories if you delete repository manually.
    import <dir>      register a repository to GPM.

  Options:
    -V, --version      print the current version
    -h, --help         print the help info about 

Config

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

{
  "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/gpmer/gpm.dart.git
gpmx add https://github.com/axetroy/ymli.git

gpmx ls

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

Uninstall

// TODO

Contribute

git clone https://github.com/gpmer/gpm.dart.git
cd ./gpm.dart
pub get
dart ./bin/gpmx

You can flow Contribute Guide

License

The MIT License

Releases

No releases published

Packages

No packages published

Languages