Skip to content

gpmer/gpm.dart

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

About

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

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages