From be3d0e021d6e3e29e3b5820fc89d5d83c66c6b9b Mon Sep 17 00:00:00 2001 From: Luis Arias Date: Tue, 14 May 2024 08:46:28 +0200 Subject: [PATCH] Update README --- README.md | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) 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