diff --git a/README.md b/README.md index 6a709e5..c77c313 100644 --- a/README.md +++ b/README.md @@ -135,4 +135,15 @@ The [French regional TMDB Series Dataset](https://huggingface.co/datasets/DataFo ```bash invoke update-series-dataset -``` \ No newline at end of file +``` + +## CLI + +The CLI supports the following commands: + +``` +python -m observatoire.tmdb.movies --mode=[latest | missing] +python -m observatoire.tmdb.series --mode=[latest | missing] +``` + +In the `latest` mode, which is the default, these commands sync the latest records from TMDB to our datasets on Hugging Face. In the `missing` mode, they calculate which rows may be missing from the Hugging Face datasets and attempt to sync these records. \ No newline at end of file