Update readme with new cli command

This commit is contained in:
mrjvs
2023-12-26 17:01:02 +01:00
parent feddf9c215
commit aa4b7cda9e

View File

@@ -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
``` ```