<commit_before># GitLabCLI (Beta)
[![Build status](https://ci.appveyor.com/api/projects/status/h240b0xlwssirw3t?svg=true)](https://ci.appveyor.com/project/nmklotas/gitlabcli)
[![codecov](https://codecov.io/gh/nmklotas/GitLabCLI/branch/master/graph/badge.svg)](https://codecov.io/gh/nmklotas/GitLabCLI)

What is GitLabCLI ?  
* It's a cross platform GitLab command line tool to quickly & naturally perform frequent tasks on GitLab project.  
* It does not force you to hand craft json or use other unnatural ways (for example ids) like other CLI's to interact with GitLab.  
* It does not have any dependencies.  
* It's self contained .NET core application - you don't need to have .NET installed for it to work.  

## Quick start

### 1. Configure how to authenticate with GitLab API:

To authenticate using token:
```
gitlab config --host "https://gitlab-host.com" --token "your token"
```
To authenticate using username & password:
```
gitlab config --host "https://gitlab-host.com" --username "your username" --password "<PASSWORD>"
```

To boost your productivity it's recommended to set default project also. So you will not need to specify it everytime.
```
gitlab config --username "username" --password "password" --default-project "defaultproject"
```

### 2. If you want to find more information about certain commands just use --help:

For example:
```
gitlab --help
gitlab config --help
gitlab issue create --help
```
## Some examples:

### Issues
```
# create issue:
gitlab issue create -t "Issue title" -d "Issue description" -l label1,label2

# or long syntax:
gitlab issue create --title "Issue title" --description "Issue description" --labels label1,label2

# create issue for specific user:
gitlab issue create -t "Issue title" -a "User"

# create issue for yourself:<commit_msg>Remove wrong args in readme<commit_after># GitLabCLI (Beta)
[![Build status](https://ci.appveyor.com/api/projects/status/h240b0xlwssirw3t?svg=true)](https://ci.appveyor.com/project/nmklotas/gitlabcli)
[![codecov](https://codecov.io/gh/nmklotas/GitLabCLI/branch/master/graph/badge.svg)](https://codecov.io/gh/nmklotas/GitLabCLI)

What is GitLabCLI ?  
* It's a cross platform GitLab command line tool to quickly & naturally perform frequent tasks on GitLab project.  
* It does not force you to hand craft json or use other unnatural ways (for example ids) like other CLI's to interact with GitLab.  
* It does not have any dependencies.  
* It's self contained .NET core application - you don't need to have .NET installed for it to work.  

## Quick start

### 1. Configure how to authenticate with GitLab API:

To authenticate using token:
```
gitlab config --host "https://gitlab-host.com" --token "your token"
```
To authenticate using username & password:
```
gitlab config --host "https://gitlab-host.com" --username "your username" --password "<PASSWORD>"
```

To boost your productivity it's recommended to set default project also. So you will not need to specify it everytime.
```
gitlab config --default-project "defaultproject"
```

### 2. If you want to find more information about certain commands just use --help:

For example:
```
gitlab --help
gitlab config --help
gitlab issue create --help
```
## Some examples:

### Issues
```
# create issue:
gitlab issue create -t "Issue title" -d "Issue description" -l label1,label2

# or long syntax:
gitlab issue create --title "Issue title" --description "Issue description" --labels label1,label2

# create issue for specific user:
gitlab issue create -t "Issue title" -a "User"

# create issue for yourself:
{'fraction_non_alphanumeric': 0.12051569506726457, 'fraction_numerical': 0.00616591928251121, 'mean_word_length': 4.256259204712813, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 12, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7259236', 'n_tokens_mistral': 1144, 'n_tokens_neox': 1061, 'n_words': 415}