Skip to content

Commit 188299a

Browse files
committed
update docs generate stasts
1 parent a701869 commit 188299a

File tree

1 file changed

+20
-2
lines changed

1 file changed

+20
-2
lines changed

docs/source/cli.md

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,26 @@ Usage: mapswipe_workers generate-stats [OPTIONS]
6161
Options:
6262
-s, --schedule [m|h|d] Generate stats every 10 minutes (m), every hour (h)
6363
or every day (d).
64-
--only_new_results Generate stats for all projects or only for those
65-
updated or with new results.
64+
--project_id_list TEXT provide project id strings as a list stats will be
65+
generated only for these projects.
66+
Use it like '["project_a", "project_b"]'
67+
--help Show this message and exit.
68+
```
69+
70+
## Generate Statistics for all projects
71+
72+
Ideally you run this using a separate docker container. e.g. like this:
73+
74+
```
75+
docker-compose run mapswipe_workers mapswipe_workers generate-stats-all-projects
76+
```
77+
78+
```
79+
Usage: mapswipe_workers generate-stats-all-projects [OPTIONS]
80+
81+
Options:
82+
-s, --schedule [m|h|d] Generate stats every 10 minutes (m), every hour (h)
83+
or every day (d).
6684
--help Show this message and exit.
6785
```
6886

0 commit comments

Comments
 (0)