Skip to content

Commit

Permalink
🎉 readme
Browse files Browse the repository at this point in the history
  • Loading branch information
lacymorrow committed Apr 27, 2018
1 parent 04dc889 commit c9aa6a0
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ In the browser:
<!-- movieInfo window global -->
<script type="text/javascript" src="https://unpkg.com/movie-trailer"></script>
```
(via Unpkg, or via [JSDelivr](https://cdn.jsdelivr.net/npm/movie-trailer/index.min.js"))
(via Unpkg, or via [JSDelivr](https://cdn.jsdelivr.net/npm/movie-trailer/index.min.js))


## Usage
Expand Down Expand Up @@ -97,13 +97,15 @@ Type: `string` || `number`

Optional movie year.

Use `-y` or `--year` on the CLI

##### multi

Type: `boolean`

Optionally return array of urls instead of a single url.

use `-m` or `--multi`
Use `-m` or `--multi` on the CLI


#### callback(error, response)
Expand All @@ -117,7 +119,7 @@ Callback function.
$ movie-trailer --help

Usage
$ movie-trailer movie [--year] [--multi]
$ movie-trailer movie [year] [multi]

Example
$ movie-trailer 'Oceans Eleven' 1960
Expand Down

0 comments on commit c9aa6a0

Please sign in to comment.