New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

n-gitlab-cli

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

n-gitlab-cli

This is a CLI to interact with Gitlab API

latest
Source
npmnpm
Version
1.2.0
Version published
Weekly downloads
2
100%
Maintainers
1
Weekly downloads
 
Created
Source

A CLI to interact with Gitlab API and manage your projects

Usage

Setup the following environment variables on your system:

  • GITLAB_API_ADDRESS (E.g. https://gitlab.com)
  • GITLAB_API_TOKEN (Personal Access Token)

Then:

npx n-gitlab-cli <resource> <command> <options>

Each resource support specific commands and options.

Bellow follows the resources are currently supported.

Issues

backup

Creates a directory with all the issues of a project backed up into json files.

Options:

  • projectId (required)

The created directory will follow the pattern name <project_id>_issues_backup and it is created in the current directory where the command is typed.

Example:

npx n-gitlab-cli issues backup projectId=621

deleteAll

Deletes all issues of a project.

Options:

  • projectId (required)

Example:

npx n-gitlab-cli issues deleteAll projectId=621

FAQs

Package last updated on 05 Nov 2023

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