<commit_before># latest

`latest` is a command to check github respository you are in is latest or not.

## Usage

To check cloned repository is latest or not, run `latest` in its directory root. If it is not latest version, it returns non-zero exit code.

```go
$ latest -owner=tcnksm -repo=go-latest 2.4.1
$ echo $?
0
```

You can check version is new, it means version is not exist on GitHub and greater than others, and more outputs can be enabled with `-debug` flag, 

```go
$ latest -debug -new -owner=tcnksm repo=go-latest 2.4.1
2.2.1 is new
```

See more usage with `-help` options.


<commit_msg>Documentation<commit_after># latest

`latest` is a command to check a provided version is latest or not in GitHub. 

## Usage

To check cloned repository is latest or not, just run with owner name and repository name which you want to check. If it is not latest version, it returns non-zero exit code.

```go
$ latest -owner=tcnksm -repo=go-latest 2.4.1
$ echo $?
0
```

You can check version is new, it means version is not exist on GitHub and greater than others, and more outputs can be enabled with `-debug` flag, 

```go
$ latest -debug -new -owner=tcnksm repo=go-latest 2.4.1
2.2.1 is new
```

See more usage with `-help` options.



{'fraction_non_alphanumeric': 0.09485530546623794, 'fraction_numerical': 0.01607717041800643, 'mean_word_length': 3.6282527881040894, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, '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': '6221145', 'n_tokens_mistral': 413, 'n_tokens_neox': 387, 'n_words': 193}