Gitlab CLI
Practice command line interface for gitlab. GitLab API wrapper.
Installation
Create a symlink in a executable PATH directory
ln -s gitlab ~/bin/
Setup
export $GL_TOKEN=YOUR_GITLAB_PRIVATE_ACCESS_TOKEN
export $GL_PROJECT_ID=YOUR_GITLAB_PROJECT_ID
Command
gitlab <resource> <action> <attribute_1> <attribute_2>
Create an issue
gitlab issues create new_issue_title new_issue_description
Vim Example
Use window content as the description of an issue.
:! gitlab issues create new_issue_title "$(cat %)"