CLI Reference¶
ocdsnightingale --help
- --config <path>
Path to the configuration file. This option is required.
- --package
Package the data into a release package.
- –stream / –no-stream
Enable or disable streaming to the output file. Streaming is enabled by default.
- --validate-mapping
Validate the mapping template against the data source.
- --loglevel <level>
Set the logging level. Available levels are: DEBUG, INFO, WARNING, ERROR, CRITICAL.
- --datasource <connection>
Datasource connection string. Overrides the
[datasource] connectionconfiguration.- --mapping-file <path>
Path to the mapping file. Overrides the
[mapping] fileconfiguration.- --codelists-file <path>
Path to the codelists mapping file. Overrides the
[mapping] codelistsconfiguration.- --ocid-prefix <prefix>
OCID prefix. Overrides the
[mapping] ocid_prefixconfiguration.- --selector <path>
Path to a SQL script file containing the selector query. Overrides the
[mapping] selectorconfiguration.- --force-publish
Force publish all mapped fields. Overrides the
[mapping] force_publishconfiguration.- --publisher <name>
Publisher name. Overrides the
[publishing] publisherconfiguration.- --base-uri <uri>
Package base URI. Overrides the
[publishing] base_uriconfiguration.- --version <version>
OCDS version. Overrides the
[publishing] versionconfiguration.- --publisher-uid <uid>
Publisher UID. Overrides the
[publishing] publisher_uidconfiguration.- --publisher-scheme <scheme>
Publisher scheme. Overrides the
[publishing] publisher_schemeconfiguration.- --publisher-uri <uri>
Publisher URI. Overrides the
[publishing] publisher_uriconfiguration.- --extensions <url>
Extension URL. Can be specified multiple times. Overrides the
[publishing] extensionsconfiguration.- --output-directory <path>
Output directory. Overrides the
[output] directoryconfiguration.