Project Name | Stars | Downloads | Repos Using This | Packages Using This | Most Recent Commit | Total Releases | Latest Release | Open Issues | License | Language |
---|---|---|---|---|---|---|---|---|---|---|
Release It | 6,573 | 4,816 | 7,153 | 5 days ago | 355 | September 15, 2022 | 9 | mit | JavaScript | |
🚀 Automate versioning and package publishing | ||||||||||
Reviewdog | 6,421 | 1 | 23 | 2 days ago | 154 | April 21, 2022 | 113 | mit | Go | |
🐶 Automated code review tool integrated with any code analysis tools regardless of programming language | ||||||||||
Pet | 3,736 | a month ago | 20 | November 21, 2021 | 78 | mit | Go | |||
Simple command-line snippet manager, written in Go. | ||||||||||
Cml | 3,727 | 6 days ago | 126 | August 08, 2022 | 62 | apache-2.0 | JavaScript | |||
♾️ CML - Continuous Machine Learning | CI/CD for ML | ||||||||||
Tox | 3,284 | 18,200 | 2,695 | 4 days ago | 131 | June 29, 2022 | 79 | mit | Python | |
Command line driven CI frontend and development task automation tool. | ||||||||||
Git Chglog | 2,447 | 1 | 74 | 11 days ago | 36 | December 14, 2021 | 90 | mit | Go | |
CHANGELOG generator implemented in Go (Golang). | ||||||||||
Gitalias | 2,204 | 10 days ago | 5 | |||||||
Git alias commands for faster easier version control | ||||||||||
Glab | 2,070 | 3 | 8 months ago | 38 | January 10, 2022 | 117 | mit | Go | ||
A GitLab CLI tool bringing GitLab to your command line | ||||||||||
Gitbeaker | 1,309 | 385 | 143 | 2 days ago | 171 | January 30, 2020 | 9 | other | TypeScript | |
🦊🧪 A comprehensive and typed Gitlab SDK for Node.js, Browsers, Deno and CLI | ||||||||||
Ghorg | 1,282 | 7 days ago | 55 | June 25, 2022 | 8 | apache-2.0 | Go | |||
Quickly clone an entire org/users repositories into one directory - Supports GitHub, GitLab, Bitbucket, and more 🥚 |
gitlab-cli is a command line utility created in JavaScript. Inspired from hub. It tries to provide commands which makes working with gitlab from the command line easier.
Creating a merge request with gitlab-cli is as simple as
$ lab merge-request
Install it using npm
$ npm install git-lab-cli -g
$ lab command [options]
To get a list of available commands
$ lab --help
browse [options] Open current branch or a specific page in gitlab
compare [options] Open compare page between two branches
merge-request [options] Create merge request on gitlab
merge-requests [options] Opens merge request page for the repo.
Check help of each command like following
$ lab merge-request --help
$ lab merge-request -b feature/feature-name -t develop
Above will create merge request for merging feature/feature-name in develop.
-b, --base [optional] Base branch name
-t, --target [optional] Target branch name
-m, --message [optional] Title of the merge request
-a, --assignee [optional] User to assign merge request to
-l, --labels [optional] Comma separated list of labels to assign while creating merge request
-r, --remove_source_branch [optional] Flag indicating if a merge request should remove the source branch when merging
-s, --squash [optional] Squash commits into a single commit when merging
-e, --edit [optional] If supplied opens edit page of merge request. Prints the merge request URL otherwise
-o, --open [optional] If supplied open the page of the merge request. Prints the merge request URL otherwise
-p, --print [deprecated] Doesn't do anything. Kept here for backward compatibility. Default is print.
-v, --verbose [optional] Detailed logging emitted on console for debug purpose
-h, --help output usage information
gitlab-cli captures configurations needed for itself on the first run. Just run the command you want to run and it will capture the information needed.
You can also set the configurations yourself as git config (project specific) or environment variables (global).
Setting git config allows you to provide separate configurations for each gitlab repository.
$ git config --add gitlab.url "https://gitlab.yourcompany.com"
$ git config --add gitlab.token "abcdefghijskl-1230"
Find your gitlab token at https://gitlab.yourcompany.com/profile/account
Setting environment variables allows you to provide global configurations which will be used for all your gitlab repositories when using gitlab-cli.
GITLAB_URL=https://gitlab.yourcompany.com
GITLAB_TOKEN=abcdefghijskl-1230
Find your gitlab token at https://gitlab.yourcompany.com/profile/account