Truelty Python CLI Reference

Below is a listing of all the CLI arguments and descriptions.

usage: truelty.py [-h] [-c <connection_type>] [-w <warehouse_name>]
[-l] [-o ] [-a <snowflake_account>]
[-u <user_name>] [-p] [-d <database_name>]
[-s <schema_name>] [-r <role_name>] [-x]
{truelty}

positional arguments:
truelty Run Truelty matching - schema path should be
TRUELTY.DATA_STORE

optional arguments:
-h, --help show this help message and exit
-c <connection_type>, --connection_method <connection_type>
Connection Method options
[env*|config|keypair|sso|user_pass|oauth]
-w <warehouse_name>, --warehouse <warehouse_name>
Warehouse name to use if the warehouse is not
part of your connection, or you want to specify
another warehouse
-l, --log Enable logging. Logging will populate a table
in the same schema path as identified in
<schema_path> argument. If the table does not
already exist, it will be added. A different
logging schema can be specified in the -o
<log_schema> argument.
-o , --log_schema
The full schema path if you want the logging
table to be in a schema different from the
of the truelty tables. If the
table does not already exist a logging table
will be created.
-a <snowflake_account>, --accountname <snowflake_account>
Snowflake account name if using the user_pass
option connection type
-u <user_name>, --username <user_name>
Snowflake user name if overriding default or
using the user_pass option connection type
-p, --password Prompt for password when connecting
-d <database_name>, --dbname <database_name>
Snowflake database name if overriding default
or using the user_pass option connection type
-s <schema_name>, --schemaname <schema_name>
Snowflake schema name if overriding default or
using the user_pass option connection type.
NOTE: To use a schema, you need to make sure
you set the -d argument with the
schema’s corresponding database.
-r <role_name>, --rolename <role_name>
Snowflake role name if overriding default or
using the user_pass option connection type
-x, --test_connection
Test Connection to snowflake only