gitlab-cli
gitlab command line tool golang
Install
$ brew tap kyokomi/homebrew-gitlab-cli
$ brew install gitlab-cli
Usage
Init Config
$ gitlab-cli init --host https://gitlab.com/ --api-path api/v3/ --token aaaaaaaaaaa
--host
: gitlab host url--api-path
: gitlab api version path--token
: your access token
Issue List
Target Gitlab Issues
$ gitlab-cli list
--state
: state filter (opened
orclosed
)
Create Issue
$ gitlab-cli add -t title -d hoge -l aaa,bbbb,hoge,tag
-t
: issue title-d
: issue detail-l
: issue labels (array of a comma delimited string)
Issue Detail
$ gitlab-cli issue --id 28
--issue-id, --id
: issue loclaID