Skip to content

Commit eb959a1

Browse files
committed
docs: update readme
1 parent 6d4eee6 commit eb959a1

File tree

1 file changed

+13
-7
lines changed

1 file changed

+13
-7
lines changed

README.md

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Get/List Unity editor changeset
1616
### Install
1717

1818
```sh
19-
$ npm install unity-changeset
19+
npm install unity-changeset
2020
```
2121

2222
### Example
@@ -49,9 +49,20 @@ const { getUnityChangeset, scrapeArchivedChangesets, scrapeBetaChangesets } = re
4949
})();
5050
```
5151

52+
<br><br><br><br>
53+
5254
## Usage as a command-line utility
5355

56+
### Install
57+
58+
```sh
59+
npm install -g unity-changeset
60+
```
61+
62+
### Display help
63+
5464
```
65+
$ unity-changeset -h
5566
Usage: Get a changeset for specific version
5667
$ unity-changeset <version>
5768
@@ -71,13 +82,8 @@ Options:
7182
--latest-patch Output only the latest Unity patch versions
7283
```
7384

74-
### Install
75-
76-
```sh
77-
$ npm install -g unity-changeset
78-
```
7985

80-
# Get a changeset for specific version:
86+
### Get a changeset for specific version:
8187

8288
```sh
8389
$ unity-changeset 2020.2.14f1

0 commit comments

Comments
 (0)