config:explain
rai config:explain [OPTIONS]Display configuration details for the active profile with sensitive details redacted.
Options
Section titled “Options”| Option | Type | Description |
|---|---|---|
--profile | Text | The profile to display. If missing, the active profile is used. |
--all-profiles | Display all profiles. If missing, only the profile specified by the --profile option is displayed. |
Example
Section titled “Example”Use the config:explain command to view configuration status of the active profile:
$ rai config:explain
---------------------------------------------------
/path/to/raiconfig.toml
[profile.default]platform = snowflakeuser = jane.doe@company.compassword = ************account = "plvoura-client_solutions"role = "ACCOUNTADMIN"warehouse = "MY_WAREHOUSE"rai_app_name = "RELATIONALAI"engine = "jane_doe"
---------------------------------------------------Use the --profile option to view details for a specific profile:
rai config:explain --profile my-profileTo display all profiles in the configuration file, use the --all-profiles option:
rai config:explain --all-profilesMissing information is indicated by a question mark (?).
The following output indicates that the password and engine fields are missing:
$ rai config:explain
---------------------------------------------------
/path/to/raiconfig.toml
[profile.default]platform = snowflakeuser = jane.doe@company.comaccount = "plvoura-client_solutions"role = "ACCOUNTADMIN"warehouse = "MY_WAREHOUSE"rai_app_name = "RELATIONALAI"password = ?engine = ?
---------------------------------------------------