Changeset View
Changeset View
Standalone View
Standalone View
swh/provenance/cli.py
Show First 20 Lines • Show All 48 Lines • ▼ Show 20 Lines | "provenance": { | ||||
"password": "postgres", | "password": "postgres", | ||||
"dbname": "provenance", | "dbname": "provenance", | ||||
}, | }, | ||||
# Local MongoDB Storage | # Local MongoDB Storage | ||||
# "cls": "mongodb", | # "cls": "mongodb", | ||||
# "db": { | # "db": { | ||||
# "dbname": "provenance", | # "dbname": "provenance", | ||||
# }, | # }, | ||||
# Remote REST-API/PostgreSQL | |||||
# "cls": "remote", | |||||
# "url": "http://localhost:8080/%2f", | |||||
}, | }, | ||||
} | } | ||||
} | } | ||||
CONFIG_FILE_HELP = f""" | CONFIG_FILE_HELP = f""" | ||||
\b Configuration can be loaded from a yaml file given either as --config-file | \b Configuration can be loaded from a yaml file given either as --config-file | ||||
option or the {CONFIG_ENVVAR} environment variable. If no configuration file | option or the {CONFIG_ENVVAR} environment variable. If no configuration file | ||||
▲ Show 20 Lines • Show All 174 Lines • Show Last 20 Lines |