gli: Tiny cli to fetch PR info from gitlab

[ bsd3, cli, library, program ] [ Propose Tags ]

A cli tool to fetch PR(pull request/merge request) related informations from gitlab. When someone runs this tool from inside a gitlab repository, it will list out open merge requests informations containing url, title, description, author, assignee, whether it has a WIP tag or not, status, branch name and both created_at, updated_at fields

[Skip to Readme]
Versions [faq] 0.0.1,
Dependencies aeson (>= && <0.12), attoparsec (>= && <0.14), base (>= && <4.10), bytestring (>= && <0.11), containers (>= && <0.6), friendly-time (==0.4.*), gli (>= && <0.1), http-client (>= && <0.5), http-client-tls (>= && <0.3), http-conduit (>=2.1.11 && <2.2), network-uri (>= && <2.7), optparse-applicative (>= && <0.13), process (>= && <1.5), text (>= && <1.3), time (>= && <1.7), yaml (>=0.8.20 && <0.9) [details]
License BSD-3-Clause
Copyright 2016 Mrinmoy Das
Author goromlagche
Revised Revision 1 made by goromlagche at 2017-01-03T05:04:49Z
Category CLI
Home page
Source repo head: git clone
Uploaded by goromlagche at 2017-01-02T08:45:23Z
Distributions NixOS:
Executables gli
Downloads 1592 total (35 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs not available [build log]
Last success reported on 2017-01-02 [all 3 reports]


  • Gli
    • Gli.Cli
    • Gli.Gitlab
    • Gli.Setup
    • Gli.Types


Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.

Maintainer's Corner

For package maintainers and hackage trustees

Readme for gli-

[back to package description]

gli [WIP]

Goal is to fetch PR info etc.


  1. stack setup
  2. stack build
  3. stack exec which gli to get the binary path
  4. alias gli=binary_path


  1. Store the gitlab credentials on a file locally. (e.g. ~/.gli.yml)

    sample file

             key: abcd1234xyz
             key: xyz4321dcba

    You can get the credentials from

  2. Setup gli for a git repo

    This will create a repo specific gli.yml file, which will store all the information regarding the repo, and will also be checked out from git.

     $ cd my_gitlab_repo_path
     $ gli setup -f ~/.gli.yml
     $ cat gli.yml
       name: repo_name
       id: 123
       description: 'killer app 42'
       key: gitlab
       file: /Users/goromlagche/.gli.yml
  3. Fetch all open PR related info

     $ gli prs