Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

gitlab-api-request

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gitlab-api-request

Script for make request to the gitlab API

  • 1.1.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

Gitlab api request (script)

Script for make request to the gitlab API

Installing

npm install -g gitlab-api-request

Getting Started

After install the library just type gr -h in a terminal and see the documentation.

Options

option -v / --version

Output the version number

option -t <token> / --token <token>

Gitlab personal token

option -l <level> / --logs <level>

Logs level error (only show errors), info (show errors and info logs), log (show any log) (default: "error")

option -a <version> / --api <version>

Api version (default: "v4")

option -u <url> / --url <utl>

Gitlab url (default: "https://gitlab.com")

option -h / --help

Output usage information

command issues

action: list

List of issues. In the example are filter by milestone:

gr --token <user-token> issues list "milestone"="2019-02"
action: my-estimations

Estimation and spend time of the filter issues. In the example the issues are filter by milestone:

gr --token <user-token> issues my-estimations "milestone"="2019-02"

result:

Estimate 48.5
Spent 0
Issues 17

Testing code

npm test

For generate the coverage you can use the next script:

npm run test:cov

Linting code

npm run lint

Built With

  • npm - Dependency Management
  • mocha - The test frameword used
  • chai - BDD / TDD assertion library

Versioning

We use SemVer for versioning. For the versions available, see the tags on this repository.

Authors

  • Guillermo González - Initial work - wil92

Keywords

FAQs

Package last updated on 27 Feb 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc