Skip to content

Commit

Permalink
Add --write to README
Browse files Browse the repository at this point in the history
[ci skip]
  • Loading branch information
rwjblue committed May 16, 2019
1 parent 7109a8f commit 21e9cf6
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,8 @@ Retrieve a URL that can be used to reference a tarball representing the latest

### Command Line API

```js
npm install -g ember-source-channel-url
ember-source-channel-url canary
```
npx ember-source-channel-url canary
```

Will print out:
Expand All @@ -19,7 +18,15 @@ The URL for the latest tarball from ember-source's canary channel is:
https://s3.amazonaws.com/builds.emberjs.com/canary/shas/<RANDOM SHA HERE>.tgz
```
If you'd like to update `ember-source` in your `package.json` with the new URL, you can use the `--write` option:

```
npx ember-source-channel-url canary --write
```
### Progamatic API
```js
const getURLFor = require('ember-source-channel-url');
Expand Down

0 comments on commit 21e9cf6

Please sign in to comment.