Skip to content

Commit 501f5d2

Browse files
committed
docs: update readme
1 parent 2a42019 commit 501f5d2

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

README.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,22 @@ const { getUnityChangeset, scrapeArchivedChangesets, scrapeBetaChangesets } = re
5151

5252
As a command-line utility:
5353

54+
```
55+
Usage: Get a changeset for specific version
56+
$ unity-changeset <version>
57+
58+
Usage: List changesets
59+
$ unity-changeset list [options]
60+
61+
Options:
62+
--min <version> Minimum version (included)
63+
--max <version> Maximum version (included)
64+
--json Output in json format
65+
--all List all changesets (alpha/beta included)
66+
--beta List alpha/beta changesets
67+
--versions Output only the available unity version
68+
```
69+
5470
```sh
5571
# Install
5672
$ npm install -g unity-changeset
@@ -80,6 +96,13 @@ $ unity-changeset list --versions
8096
2020.1.12f1
8197
...
8298

99+
# List Unity 2018.3 or later
100+
$ unity-changeset list --min 2018.3
101+
2020.1.14f1 97d0ae02d19d
102+
...
103+
2018.3.1f1 bb579dc42f1d
104+
2018.3.0f2 6e9a27477296
105+
83106
# For more info, run with the `-h, --help` flag:
84107
$ unity-version -h
85108
```

0 commit comments

Comments
 (0)