gpmx 0.2.1

  • Installing
  • Versions
  • 33


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

with Flutter:

$ flutter packages get

Alternatively, your editor might support pub get or flutter packages 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


We analyzed this package on Jun 19, 2018, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.0.0-dev.63.0
  • pana: 0.11.3


Describes how popular the package is relative to other packages. [more]
0 / 100
Code health derived from static analysis. [more]
75 / 100
Reflects how tidy and up-to-date the package is. [more]
51 / 100
Overall score:
Weighted score of the above. [more]
Learn more about scoring.


Detected platforms: Flutter, other

Primary library: package:gpmx/gpmx.dart with components: io.


  • Maintain

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

  • Use constrained dependencies.

    The pubspec.yaml contains 2 dependencies without version constraints. Specify version ranges for the following dependencies: escli, git_url_parse.

  • Fix analysis and formatting issues.

    Analysis or formatting checks reported 7 errors 20 hints.

    Strong-mode analysis of lib/commands/add.dart failed with the following error:

    line: 69 col: 34
    The operator '[]' isn't defined for the class 'Object'.

    Strong-mode analysis of lib/commands/list.dart failed with the following error:

    line: 12 col: 34
    The operator '[]' isn't defined for the class 'Object'.

    Similar analysis of the following files failed:

    • lib/commands/relink.dart (error)
    • lib/commands/remove.dart (error)
    • lib/commands/clean.dart (hint)
    • lib/commands/import.dart (hint)
    • lib/commands/runtime.dart (hint)
    • lib/config.dart (hint)
    • lib/git_dir_config.dart (hint)
    • lib/gpmx.dart (hint)
    • lib/prepare.dart (hint)
    • lib/utils.dart (hint)
  • Package is getting outdated.

    The package was released 67 weeks ago.

  • Package is pre-v1 release.

    While there is nothing inherently wrong with versions of 0.*.*, it usually means that the author is still experimenting with the general direction API.

  • Maintain an example.

    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.


Package Constraint Resolved Available
Direct dependencies
escli 0.0.1
git_url_parse 0.1.0
log >=0.0.6 <1.0.0 0.0.6
path >=1.4.1 <2.0.0 1.6.1
prompt >=0.1.7 <0.2.0 0.1.7
Transitive dependencies
ansicolor 0.0.9 0.1.0
dye 0.0.2
ee 0.0.3
mock 0.11.0+4 0.12.0
stack_trace 1.9.2
supports_color 0.1.1
unittest 0.11.7 0.12.4+1
url_parse 0.1.0
when 0.2.0