gpmx 0.2.1

  • README.md
  • Installing
  • Versions
  • 0

gpmx.dart #

Build Status 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 #

// TODO

Requirement #

  • dart

Supports #

  • [ ] Windows
  • [x] Linux
  • [x] 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/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 #

// TODO

Contribute #

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

You can flow Contribute Guide

License #

The MIT License

Use this package as an executable

1. Install it

You can install the package from the command line:


$ pub global activate gpmx

2. Use it

The package has the following executables:


$ gpmx

Use this package as a library

1. Depend on it

Add this to your package's pubspec.yaml file:


dependencies:
  gpmx: ^0.2.1

2. Install it

You can install packages from the command line:

with pub:


$ pub get

Alternatively, your editor might support pub get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:


import 'package:gpmx/gpmx.dart';
  
Version Uploaded Documentation Archive
0.2.1 Mar 6, 2017 Go to the documentation of gpmx 0.2.1 Download gpmx 0.2.1 archive
0.2.0 Mar 6, 2017 Go to the documentation of gpmx 0.2.0 Download gpmx 0.2.0 archive
0.1.0 Mar 1, 2017 Go to the documentation of gpmx 0.1.0 Download gpmx 0.1.0 archive
Popularity:
Describes how popular the package is relative to other packages. [more]
0
Health:
Code health derived from static analysis. [more]
--
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
--
Overall:
Weighted score of the above. [more]
0
Learn more about scoring.

The package version is not analyzed, because it does not support Dart 2. Until this is resolved, the package will receive a health and maintenance score of 0.

Analysis issues and suggestions

Support Dart 2 in pubspec.yaml.

The SDK constraint in pubspec.yaml doesn't allow the Dart 2.0.0 release. For information about upgrading it to be Dart 2 compatible, please see https://dart.dev/dart-2#migration.

Maintenance issues and suggestions

Make sure dartdoc successfully runs on your package's source files. (-10 points)

Dependencies were not resolved.