clouding/gitlab-tool

A cli tool for gitlab

v1.5.1 2019-07-07 11:33 UTC

This package is auto-updated.

Last update: 2024-11-13 14:20:53 UTC


README

Built with Laravel Zero

Download phar

  1. Download to your $PATH directory
curl -O https://raw.githubusercontent.com/cloudingcity/gitlab-tool/master/builds/gitlab-tool
curl -O https://raw.githubusercontent.com/cloudingcity/gitlab-tool/master/.env.example
chmod +x gitlab-tool
  1. Configure environment file
cp .env.example .env
vi .env
  1. Execute console
gitlab-tool

Environments

Commands

self-update

Update gitlab-tool to latest version

gitlab-tool self-update

check:php:composer

Check composer.json which project required

gitlab-tool check:php:composer <group> <package>

lint

Checks if your .gitlab-ci.yml file is valid

gitlab-tool lint <file>

list:mrs

List merge requests created by you

gitlab-tool mr --state=[=STATE] --group[=GROUP] --project=[=PROJECT] 

version

Show version information

gitlab-tool version

search:projects

Search projects

gitlab-tool search:projects <search> --group[=GROUP]

search:mrs

Search merge requests

gitlab-tool search:projects <search> --group[=GROUP] --project=[=PROJECT]