Improve the README

This commit is contained in:
Andrew Naylor 2015-09-21 00:55:58 +01:00
parent 1b199e98a7
commit af6e64d0fa

View file

@ -1,7 +1,7 @@
# mas-cli # mas-cli
Command line interface for the Mac App Store, designed for scripting and A simple command line interface for the Mac App Store. Designed for scripting
automation. and automation.
## Install ## Install
@ -14,23 +14,20 @@ Alternatively binaries are available in the [GitHub Releases](ghreleases)
## Usage ## Usage
Each application in the Mac App Store has a product identifier which is also 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 used for mas-cli commands. Using `mas list` will show all installed
app is to run `mas list`. This will list all installed applications along with applications and their product identifiers.
their product identifiers
$ mas list $ mas list
446107677 Screens 446107677 Screens
407963104 Pixelmator 407963104 Pixelmator
497799835 Xcode 497799835 Xcode
To install an application simply run `mas install`: To install or update an application simply run `mas install`:
$ mas install 808809998 $ mas install 808809998
==> Downloading PaintCode 2 ==> Downloading PaintCode 2
==> Installed PaintCode 2 ==> Installed PaintCode 2
`mas install` can also be used to install pending updates.
Use `mas outdated` to list all applications with pending updates. Use `mas outdated` to list all applications with pending updates.
$ mas outdated $ mas outdated