Changeset View
Changeset View
Standalone View
Standalone View
swh/provenance/cli.py
Show First 20 Lines • Show All 60 Lines • ▼ Show 20 Lines | "provenance": { | ||||
"cls": "postgresql", | "cls": "postgresql", | ||||
"db": { | "db": { | ||||
"host": "localhost", | "host": "localhost", | ||||
"user": "postgres", | "user": "postgres", | ||||
"password": "postgres", | "password": "postgres", | ||||
"dbname": "provenance", | "dbname": "provenance", | ||||
}, | }, | ||||
}, | }, | ||||
# Remote RPC-API/PostgreSQL | |||||
# "cls": "rpcapi", | |||||
# "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 184 Lines • Show Last 20 Lines |