|
7191 | 7191 | +------------------------------------------------------------------------------+ |
7192 | 7192 |
|
7193 | 7193 |
|
| 7194 | + ''' |
| 7195 | +# --- |
| 7196 | +# name: test_help_messages[dcm.analyze] |
| 7197 | + ''' |
| 7198 | + |
| 7199 | + Usage: root dcm analyze [OPTIONS] IDENTIFIER |
| 7200 | + |
| 7201 | + Analyzes a DCM Project. |
| 7202 | + |
| 7203 | + +- Arguments ------------------------------------------------------------------+ |
| 7204 | + | * identifier TEXT Identifier of the DCM Project; for example: | |
| 7205 | + | MY_PROJECT | |
| 7206 | + | [required] | |
| 7207 | + +------------------------------------------------------------------------------+ |
| 7208 | + +- Options --------------------------------------------------------------------+ |
| 7209 | + | --from TEXT Source location: stage path | |
| 7210 | + | (starting with '@') or local | |
| 7211 | + | directory path. Omit to use current | |
| 7212 | + | directory. | |
| 7213 | + | --variable -D TEXT Variables for the execution | |
| 7214 | + | context; for example: -D | |
| 7215 | + | "<key>=<value>". | |
| 7216 | + | --configuration TEXT Configuration of the DCM Project to | |
| 7217 | + | use. If not specified default | |
| 7218 | + | configuration is used. | |
| 7219 | + | --type [dependencies] Type of analysis to perform. | |
| 7220 | + | --output-path TEXT Path where the analysis result will | |
| 7221 | + | be stored. Can be a stage path | |
| 7222 | + | (starting with '@') or a local | |
| 7223 | + | directory path. | |
| 7224 | + | --help -h Show this message and exit. | |
| 7225 | + +------------------------------------------------------------------------------+ |
| 7226 | + +- Connection configuration ---------------------------------------------------+ |
| 7227 | + | --connection,--environment -c TEXT Name of the connection, as | |
| 7228 | + | defined in your config.toml | |
| 7229 | + | file. Default: default. | |
| 7230 | + | --host TEXT Host address for the | |
| 7231 | + | connection. Overrides the | |
| 7232 | + | value specified for the | |
| 7233 | + | connection. | |
| 7234 | + | --port INTEGER Port for the connection. | |
| 7235 | + | Overrides the value specified | |
| 7236 | + | for the connection. | |
| 7237 | + | --account,--accountname TEXT Name assigned to your | |
| 7238 | + | Snowflake account. Overrides | |
| 7239 | + | the value specified for the | |
| 7240 | + | connection. | |
| 7241 | + | --user,--username TEXT Username to connect to | |
| 7242 | + | Snowflake. Overrides the | |
| 7243 | + | value specified for the | |
| 7244 | + | connection. | |
| 7245 | + | --password TEXT Snowflake password. Overrides | |
| 7246 | + | the value specified for the | |
| 7247 | + | connection. | |
| 7248 | + | --authenticator TEXT Snowflake authenticator. | |
| 7249 | + | Overrides the value specified | |
| 7250 | + | for the connection. | |
| 7251 | + | --workload-identity-provider TEXT Workload identity provider | |
| 7252 | + | (AWS, AZURE, GCP, OIDC). | |
| 7253 | + | Overrides the value specified | |
| 7254 | + | for the connection | |
| 7255 | + | --private-key-file,--privat… TEXT Snowflake private key file | |
| 7256 | + | path. Overrides the value | |
| 7257 | + | specified for the connection. | |
| 7258 | + | --token TEXT OAuth token to use when | |
| 7259 | + | connecting to Snowflake. | |
| 7260 | + | --token-file-path TEXT Path to file with an OAuth | |
| 7261 | + | token to use when connecting | |
| 7262 | + | to Snowflake. | |
| 7263 | + | --database,--dbname TEXT Database to use. Overrides | |
| 7264 | + | the value specified for the | |
| 7265 | + | connection. | |
| 7266 | + | --schema,--schemaname TEXT Database schema to use. | |
| 7267 | + | Overrides the value specified | |
| 7268 | + | for the connection. | |
| 7269 | + | --role,--rolename TEXT Role to use. Overrides the | |
| 7270 | + | value specified for the | |
| 7271 | + | connection. | |
| 7272 | + | --warehouse TEXT Warehouse to use. Overrides | |
| 7273 | + | the value specified for the | |
| 7274 | + | connection. | |
| 7275 | + | --temporary-connection -x Uses a connection defined | |
| 7276 | + | with command line parameters, | |
| 7277 | + | instead of one defined in | |
| 7278 | + | config | |
| 7279 | + | --mfa-passcode TEXT Token to use for multi-factor | |
| 7280 | + | authentication (MFA) | |
| 7281 | + | --enable-diag Whether to generate a | |
| 7282 | + | connection diagnostic report. | |
| 7283 | + | --diag-log-path TEXT Path for the generated | |
| 7284 | + | report. Defaults to system | |
| 7285 | + | temporary directory. | |
| 7286 | + | --diag-allowlist-path TEXT Path to a JSON file that | |
| 7287 | + | contains allowlist | |
| 7288 | + | parameters. | |
| 7289 | + | --oauth-client-id TEXT Value of client id provided | |
| 7290 | + | by the Identity Provider for | |
| 7291 | + | Snowflake integration. | |
| 7292 | + | --oauth-client-secret TEXT Value of the client secret | |
| 7293 | + | provided by the Identity | |
| 7294 | + | Provider for Snowflake | |
| 7295 | + | integration. | |
| 7296 | + | --oauth-authorization-url TEXT Identity Provider endpoint | |
| 7297 | + | supplying the authorization | |
| 7298 | + | code to the driver. | |
| 7299 | + | --oauth-token-request-url TEXT Identity Provider endpoint | |
| 7300 | + | supplying the access tokens | |
| 7301 | + | to the driver. | |
| 7302 | + | --oauth-redirect-uri TEXT URI to use for authorization | |
| 7303 | + | code redirection. | |
| 7304 | + | --oauth-scope TEXT Scope requested in the | |
| 7305 | + | Identity Provider | |
| 7306 | + | authorization request. | |
| 7307 | + | --oauth-disable-pkce Disables Proof Key for Code | |
| 7308 | + | Exchange (PKCE). Default: | |
| 7309 | + | False. | |
| 7310 | + | --oauth-enable-refresh-toke… Enables a silent | |
| 7311 | + | re-authentication when the | |
| 7312 | + | actual access token becomes | |
| 7313 | + | outdated. Default: False. | |
| 7314 | + | --oauth-enable-single-use-r… Whether to opt-in to | |
| 7315 | + | single-use refresh token | |
| 7316 | + | semantics. Default: False. | |
| 7317 | + | --client-store-temporary-cr… Store the temporary | |
| 7318 | + | credential. | |
| 7319 | + +------------------------------------------------------------------------------+ |
| 7320 | + +- Global configuration -------------------------------------------------------+ |
| 7321 | + | --format [TABLE|JSON|JSON_EXT| Specifies the output | |
| 7322 | + | CSV] format. | |
| 7323 | + | [default: TABLE] | |
| 7324 | + | --verbose -v Displays log entries | |
| 7325 | + | for log levels info | |
| 7326 | + | and higher. | |
| 7327 | + | --debug Displays log entries | |
| 7328 | + | for log levels debug | |
| 7329 | + | and higher; debug logs | |
| 7330 | + | contain additional | |
| 7331 | + | information. | |
| 7332 | + | --silent Turns off intermediate | |
| 7333 | + | output to console. | |
| 7334 | + | --enhanced-exit-codes Differentiate exit | |
| 7335 | + | error codes based on | |
| 7336 | + | failure type. | |
| 7337 | + | [env var: | |
| 7338 | + | SNOWFLAKE_ENHANCED_EX… | |
| 7339 | + | --decimal-precision INTEGER Number of decimal | |
| 7340 | + | places to display for | |
| 7341 | + | decimal values. Uses | |
| 7342 | + | Python's default | |
| 7343 | + | precision if not | |
| 7344 | + | specified. | |
| 7345 | + | [env var: | |
| 7346 | + | SNOWFLAKE_DECIMAL_PRE… | |
| 7347 | + +------------------------------------------------------------------------------+ |
| 7348 | + |
| 7349 | + |
7194 | 7350 | ''' |
7195 | 7351 | # --- |
7196 | 7352 | # name: test_help_messages[dcm.create] |
|
8812 | 8968 | | --help -h Show this message and exit. | |
8813 | 8969 | +------------------------------------------------------------------------------+ |
8814 | 8970 | +- Commands -------------------------------------------------------------------+ |
| 8971 | + | analyze Analyzes a DCM Project. | |
8815 | 8972 | | create Creates a DCM Project in Snowflake. | |
8816 | 8973 | | deploy Applies changes defined in DCM Project to Snowflake. | |
8817 | 8974 | | describe Provides description of DCM Project. | |
|
22401 | 22558 | | --help -h Show this message and exit. | |
22402 | 22559 | +------------------------------------------------------------------------------+ |
22403 | 22560 | +- Commands -------------------------------------------------------------------+ |
| 22561 | + | analyze Analyzes a DCM Project. | |
22404 | 22562 | | create Creates a DCM Project in Snowflake. | |
22405 | 22563 | | deploy Applies changes defined in DCM Project to Snowflake. | |
22406 | 22564 | | describe Provides description of DCM Project. | |
|
0 commit comments