1. Summary
Easy to use:
2. Disclaimer
This answer is relevant for August 2019. In the future, its data may be outdated.
3. lab (recommended)
3.1. About
lab — CLI tool, making it simple some operations with GitLab repositories. lab is Gitlab equivalent of hub extension for GitHub.
3.2. Usage
After first run lab will offer to enter token. Create a personal access token with desired scope api
→ paste it to terminal →Enter.
Then run lab project create
:
lab project create -n KiraLab --public -d "Kira lab demo project"
3.3. Result
3.4. Why recommended
Options are available:
--public
— making repository public, not private-d
,--description
— creating description
4. gitlab-cli
4.1. About
Cross-platform Go-written command-line utility for GitLab repositories operations.
4.2. Usage
Create your GitLab personal access token→gitlab-cli login YOUR_TOKEN
→ run gitlab-cli project create
command:
gitlab-cli project create KiraGitLabCLI
4.3. Result
4.4. Note
Please do not confuse this Go project and Ruby gitlab-cli tool from @thameera answer.