You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 13, 2020. It is now read-only.
-`command` is the function to be performed by the utility. The currently supported values are
14
-
-`START`: Marks the start of a new execution by creating a record for the same in the given database and returns an ID of the new execution.
15
-
-`db-connection-string` is a [PostgreSQL Db Connection String](http://docs.sqlalchemy.org/en/latest/dialects/postgresql.html#module-sqlalchemy.dialects.postgresql.psycopg2) of the format `postgresql+psycopg2://user:password@host:port/dbname`
13
+
-`options` include:
14
+
-`--help | -h`: displays help menu.
15
+
-`--log-level | -l`: choose program's logging level, from CRITICAL, ERROR, WARNING, INFO, DEBUG; default is INFO.
16
+
-`command` is the function to be performed by the utility. The currently supported values are:
17
+
-`start`: Marks the start of a new execution by creating a record for the same in the given database. Returns an `execution-id` which is a GUID identifier of the new execution.
18
+
-`db-connection-string`: a [PostgreSQL Db Connection String](http://docs.sqlalchemy.org/en/latest/dialects/postgresql.html#module-sqlalchemy.dialects.postgresql.psycopg2) of the format `postgresql+psycopg2://user:password@host:port/dbname`
19
+
-`finish`: Marks the completion of an existing execution by updating a record for the same in the given database. Returns nothing unless there's an error.
20
+
-`db-connection-string`: a [PostgreSQL Db Connection String](http://docs.sqlalchemy.org/en/latest/dialects/postgresql.html#module-sqlalchemy.dialects.postgresql.psycopg2) of the format `postgresql+psycopg2://user:password@host:port/dbname`
21
+
-`execution-id`: a GUID identifier of an existing data pipeline execution.
22
+
23
+
To get help,use:
24
+
25
+
```
26
+
py mcd.py --help
27
+
py mcd.py <command> --help
28
+
```
16
29
17
30
### As a script
18
31
19
32
- Use a local isolated/virtual python environment for this project
0 commit comments