mirror of
https://github.com/movie-web/providers.git
synced 2025-09-13 15:33:26 +00:00
Update readme with new cli command
This commit is contained in:
@@ -10,7 +10,7 @@ features:
|
|||||||
Visit documentation here: https://providers.docs.movie-web.app/
|
Visit documentation here: https://providers.docs.movie-web.app/
|
||||||
|
|
||||||
## Development
|
## Development
|
||||||
To make testing scrapers easier during development a CLI tool is available to run specific sources. To run the CLI testing tool, use `npm run test:dev`. The script supports 2 execution modes
|
To make testing scrapers easier during development a CLI tool is available to run specific sources. To run the CLI testing tool, use `npm run cli`. The script supports 2 execution modes
|
||||||
|
|
||||||
- CLI Mode, for passing in arguments directly to the script
|
- CLI Mode, for passing in arguments directly to the script
|
||||||
- Question Mode, where the script asks you questions about which source you wish to test
|
- Question Mode, where the script asks you questions about which source you wish to test
|
||||||
@@ -31,5 +31,5 @@ The following CLI Mode arguments are available
|
|||||||
Example testing the FlixHQ source on the movie "Spirited Away"
|
Example testing the FlixHQ source on the movie "Spirited Away"
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
npm run test:dev -- -sid flixhq -tid 129 -t movie
|
npm run cli -- -sid flixhq -tid 129 -t movie
|
||||||
```
|
```
|
||||||
|
Reference in New Issue
Block a user