<commit_before># cask-appcast

Get the latest available version, checkpoint and download URL(s) from appcast.

## Description

The purpose of `cask-appcast` is to get the latest available version, checkpoint
and download URL(s) from appcast by detecting which of supported providers is
being used. In the case of unsupported provider, only the checkpoint is
generated.

### Supported providers

At the moment only 2 providers are supported:

- Sparkle
- GitHub Atom

In the near future 3 more will be added:

- Apple Property List
- SourceForge
- JSON

### Available options

#### `-g, --github <user>:<token>`

GitHub username and personal token.

Since GitHub have an API limit, it's preferable to set these before making any
request to GitHub. Otherwise, there is a possibility that you will get the
`API rate limit exceeded` message. By default the values are retrieved using:

```bash
git config --get github.user
git config --get github.token
```

Please verify if those values are set on your system.

#### `-m, --match <tag>`

Try to filter using the matching tag.<commit_msg>Add header option description in cask-appcast docs<commit_after># cask-appcast

Get the latest available version, checkpoint and download URL(s) from appcast.

## Description

The purpose of `cask-appcast` is to get the latest available version, checkpoint
and download URL(s) from appcast by detecting which of supported providers is
being used. In the case of unsupported provider, only the checkpoint is
generated.

### Supported providers

At the moment only 2 providers are supported:

- Sparkle
- GitHub Atom

In the near future 3 more will be added:

- Apple Property List
- SourceForge
- JSON

### Available options

#### `-g, --github <user>:<token>`

GitHub username and personal token.

Since GitHub have an API limit, it's preferable to set these before making any
request to GitHub. Otherwise, there is a possibility that you will get the
`API rate limit exceeded` message. By default the values are retrieved using:

```bash
git config --get github.user
git config --get github.token
```

Please verify if those values are set on your system.

#### `-H, --header <header>`

Set browser header.

By default `User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_2)
AppleWebKit/537.36 (KHTML, like Gecko) Chrome/33.0.1750.152 Safari/537.36` is
used.

#### `-m, --match <tag>`

Try to filter using the matching tag.
{'fraction_non_alphanumeric': 0.08333333333333333, 'fraction_numerical': 0.012437810945273632, 'mean_word_length': 4.134042553191489, 'pattern_counts': {'":': 0, '<': 10, '<?xml version=': 0, '>': 10, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6569502', 'n_tokens_mistral': 724, 'n_tokens_neox': 658, 'n_words': 341}