Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/gpmer/gpm.dart

:gem:Git Package Manager, make you manage the repository easier, Power by Dart
https://github.com/gpmer/gpm.dart

binary cli cli-app dart dartlang git github gitlab gpm manager repository

Last synced: about 1 month ago
JSON representation

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

Awesome Lists containing this project

README

        

# gpmx.dart
[![Build Status](https://travis-ci.org/gpmer/gpm.dart.svg?branch=master)](https://travis-ci.org/axetroy/gpm.dart.dart)
![License](https://img.shields.io/badge/license-MIT-green.svg)
![Node](https://img.shields.io/badge/dart-%3E=1.2.0-blue.svg?style=flat-square)

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

// TODO

## Requirement

- dart

## Supports

- [ ] Windows
- [x] Linux
- [x] MacOS

## Usage

```bash
gpmx -h

# print out

Usage: gpmx [options]

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

Commands:
list display the all repo.
add 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 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

```json
{
"name": "gpmx",
"base": "gpmx"
}
```

- name: user name
- base: the repositories base dir, all repository will be install in this dir

## Example

```bash
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

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

You can flow [Contribute Guide](https://github.com/gpmer/gpm.dart/blob/master/contributing.md)

## License

The [MIT License](https://github.com/gpmer/gpm.dart/blob/master/LICENSE)