glcli

command module
v0.0.0-...-93ed7e7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 18, 2022 License: MIT Imports: 1 Imported by: 0

README ΒΆ

Gitlab CLI 🌟

glcli is a command line tool that makes working with GitLab easier.


βš™οΈ Features

  • Easy configuration of GitLab settings.
  • Display all merge requests created by or assigned to you.
  • Quickly open pages in your default browser.
  • Identify projects dependent on a certain package (Golang: go.mod, PHP: composer.json).
  • Validate .gitlab-ci.yml files with ease.

πŸš€ Installation

Clone the repository and use the Makefile provided:

git clone https://github.com/alekseiapa/glcli.git
cd glcli
make install

πŸ“˜ Usage Instructions

A CLI tool for GitLab management.

Usage:
  glcli [command]

Available Commands:
  ci          Manage GitLab CI
  clone       Clone a repository from GitLab
  config      Configure or display CLI options
  depend      Show projects relying on a particular package
  mr          Manage merge requests
  own         Manage your own resources
  project     Manage GitLab projects
  version     Display version number of glcli

Flags:
  -h, --help   Help information for glcli

Use "glcli [command] --help" for more information about a command.
Initial Configuration πŸ› οΈ

To start using glcli, run:

glcli config init

The command will prompt you for GitLab host and token information.

Clone a Repository πŸ“‚

Clone a repository from GitLab with ease:

glcli clone [REPO]
Working with Merge Requests βš™οΈ
  • Create a Merge Request Push your local branch to the remote and start a merge request:

    glcli mr create
    
  • List Merge Requests Display current repository merge requests:

glcli mr list
  • Open a Merge Request Open a merge request page in the default web browser:

    glcli mr open <MR-ID>
    
Analyze Dependencies πŸ”
  • Show PHP Composer Dependencies See projects dependent on a specific PHP package:
glcli depend php package/name --group=group
  • Show Go Module Dependencies Display Go projects that depend on a specific module:
glcli depend go module/path --group=group
Validate GitLab CI Config βœ…

Check if .gitlab-ci.yml files are valid:

glcli ci lint .gitlab-ci.yml

Documentation ΒΆ

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL