soda-sql icon indicating copy to clipboard operation
soda-sql copied to clipboard

Get WAREHOUSE_YML_FILE default value from an environment variable

Open stumelius opened this issue 3 years ago • 0 comments

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.

stumelius avatar Feb 09 '22 11:02 stumelius