gpmx 0.2.1

  • Installing
  • Versions
  • 0


Build Status License Node

Git Package Manager, make you manage the repository easier


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




  • dart


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


gpmx -h

# print out

  Usage: gpmx <command> [options]

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

    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.

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


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


gpmx add
gpmx add
gpmx add

gpmx ls

# print out 
    gpm:  /home/axetroy/gpmx/
    ymli: /home/axetroy/gpmx/
    release: /home/axetroy/gpmx/




git clone
cd ./gpm.dart
pub get
dart ./bin/gpmx

You can flow Contribute Guide


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:

  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
Describes how popular the package is relative to other packages. [more]
Code health derived from static analysis. [more]
Reflects how tidy and up-to-date the package is. [more]
Weighted score of the above. [more]
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

Fix dependencies in pubspec.yaml.

Running pub upgrade failed with the following output:

ERR: The current Dart SDK version is 2.1.0.
 Because gpmx depends on prompt >=0.1.1 which requires SDK version <2.0.0, version solving failed.

Health suggestions

Format bin/gpmx.dart.

Run dartfmt to format bin/gpmx.dart.

Format lib/commands/add.dart.

Run dartfmt to format lib/commands/add.dart.

Format lib/commands/clean.dart.

Run dartfmt to format lib/commands/clean.dart.

Fix additional 10 files with analysis or formatting issues.

Additional issues in the following files:

  • lib/commands/import.dart (Run dartfmt to format lib/commands/import.dart.)
  • lib/commands/list.dart (Run dartfmt to format lib/commands/list.dart.)
  • lib/commands/relink.dart (Run dartfmt to format lib/commands/relink.dart.)
  • lib/commands/remove.dart (Run dartfmt to format lib/commands/remove.dart.)
  • lib/commands/runtime.dart (Run dartfmt to format lib/commands/runtime.dart.)
  • lib/config.dart (Run dartfmt to format lib/config.dart.)
  • lib/git_dir_config.dart (Run dartfmt to format lib/git_dir_config.dart.)
  • lib/gpmx.dart (Run dartfmt to format lib/gpmx.dart.)
  • lib/prepare.dart (Run dartfmt to format lib/prepare.dart.)
  • lib/utils.dart (Run dartfmt to format lib/utils.dart.)

Maintenance issues and suggestions

Add SDK constraint in pubspec.yaml. (-50 points)

For information about setting SDK constraint, please see

Fix platform conflicts. (-20 points)

Error(s) prevent platform classification:

Fix dependencies in pubspec.yaml.

Running dartdoc failed. (-10 points)

Make sure dartdoc runs without any issues.

Maintain (-20 points)

Changelog entries help clients to follow the progress in your code.

Package is getting outdated. (-77.81 points)

The package was released 92 weeks ago.

Maintain an example. (-10 points)

Create a short demo in the example/ directory to show how to use this package. Common file name patterns include: main.dart, example.dart or you could also use gpmx.dart.