Configuration¶
Most common configuration options are described here. Use --help
to print all
available options.
-
paths
¶
Required positional argument. Absolute path to file or directory. Repeat to process multiple paths.
-
-h
,
--help
¶
Show help and exit.
-
--collection
<collection>
¶ Only for upsert and import run. Limits the import to a spesific document type. Valid values are
[studies,variables,questions,study_groups]
. SetNone
to import all document types. Defaults toNone
.
-
--document-store-url
<document_store_url>
¶ Required. Full URL to Document Store, for example
http://localhost:6001/v0
. May also be controlled by setting environment variable:KUHA_DS_URL
.
-
--file-log-path
<path>
¶ Only for upsert and import run. Store processed files to file log. Compare modification times on subsequent run. Bypass if modification times have not changed.
-
--remove-absent
¶
Only for upsert run. Remove records from Document Store not present in current batch.