sodadata / soda-sql

Soda SQL and Soda Spark have been deprecated and replaced by Soda Core. docs.soda.io/soda-core/overview.html
https://docs.soda.io/
Apache License 2.0
61 stars 16 forks source link

Get WAREHOUSE_YML_FILE default value from an environment variable #206

Open stumelius opened 2 years ago

stumelius commented 2 years ago

soda scan commands are quite verbose with the two positional arguments (WAREHOUSE_YML_FILE and SCAN_YML_FILE). You could change the WAREHOUSE_YML_FILE positional argument to a keyword argument (e.g., --warehouse-config) and use an environment variable (e.g,. SODA_WAREHOUSE_FILE) as the default value. This would be similar to what dbt has done with their profiles configuration.