<commit_before># mas-cli

Command line interface for the Mac App Store, designed for scripting and
automation.

## Install

[Homebrew](hb) is the preferred way to install:

    brew install argon/mas/mas

Alternatively binaries are available in the [GitHub Releases](ghreleases)

## Usage

Each application in the Mac App Store has a product identifier which is also
used for mas-cli commands. The best way to find the product identifier of an 
app is to run `mas list`. This will list all installed applications along with
their product identifiers

    $ mas list
    446107677 Screens
    407963104 Pixelmator
    497799835 Xcode

To install an application simply run `mas install`:

    $ mas install 808809998
    ==> Downloading PaintCode 2
    ==> Installed PaintCode 2

`mas install` can also be used to install pending updates.
<commit_msg>Improve the README<commit_after># mas-cli

A simple command line interface for the Mac App Store. Designed for scripting 
and automation.

## Install

[Homebrew](hb) is the preferred way to install:

    brew install argon/mas/mas

Alternatively binaries are available in the [GitHub Releases](ghreleases)

## Usage

Each application in the Mac App Store has a product identifier which is also
used for mas-cli commands. Using `mas list` will show all installed
applications and their product identifiers.

    $ mas list
    446107677 Screens
    407963104 Pixelmator
    497799835 Xcode

To install or update an application simply run `mas install`:

    $ mas install 808809998
    ==> Downloading PaintCode 2
    ==> Installed PaintCode 2

{'fraction_non_alphanumeric': 0.04962311557788945, 'fraction_numerical': 0.04773869346733668, 'mean_word_length': 3.871559633027523, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5840868', 'n_tokens_mistral': 505, 'n_tokens_neox': 425, 'n_words': 211}