npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

one-more-gitlab-cli

v0.0.9

Published

One more Gitlab CLI

Downloads

2

Readme

one-more-gitlab-cli

One more GitLab CLI, because other ones do not fit my needs...

Issues list

⚠️ Currently works on API v3, v4 supposed to be easy to do soon https://docs.gitlab.com/ee/api/v3_to_v4.html#api-v3-to-api-v4.

Use

Install

npm install --global one-more-gitlab-cli
#or
yarn add global one-more-gitlab-cli

Use

For now, it just focuses on issues and merge requests, more resources support to come...

gitlab --help
Usage: gitlab <command> [options]

Commands:
  issue  Issues Management
  mr     Merge Requests Management

Options:
  --help     Show help                                                 [boolean]
  --version  Show version number                                       [boolean]

Examples:
  bin/gitlab issue --help  show help of the issue command

for more information, go to https://chamerling.github.io/one-more-gitlab-cli

Commands

Note: In all the commands below, you can specify the GitLab project to launch the command against using --name. If not specified, the cli will look at the current project from git origin and will use it has project name.

Issues

Create

  • Create an issue in the my-project project
gitlab issue create --name my-project --title 'This is my issue title' --d 'This is the issue description'

Get a single issue

Get the issue #735 of the my-project project.

gitlab issue get --name my-project --id 735

List

  • List last issues in the my-project project
gitlab issue list --name linagora.esn.calendar
  • Search issues in the my-project project related to spinner
gitlab issue list --name linagora.esn.calendar --search spinner

Merge Requests

List

List last merge requests in the my-project project

gitlab mr list --name linagora.esn.calendar --state opened
  • state can be opened, closed, merged and all. Defaults to opened.

Get a single MR

Get the merge request #735 of the my-project project.

gitlab mr get --name my-project --id 735

Configure

You can configure the CLI globally or locally per project. To authenticate the user, it uses a gitlab token you can find on your gitlab profile account (https://your-server-url/profile/account). Just copy/paste the Private Token.

Global configuration

git config --global gitlab.url    "http://your-server-url"
git config --global gitlab.token  "your-token"

Local configuration

WARN: Not implemented for now!

In the repository of your choice:

git config gitlab.url   "http://your-server-url"
git config gitlab.token "your-token"

Release

grunt release

License

MIT