|
7485 | 7485 | +------------------------------------------------------------------------------+
|
7486 | 7486 |
|
7487 | 7487 |
|
| 7488 | + ''' |
| 7489 | +# --- |
| 7490 | +# name: test_help_messages[dcm.drop-deployment] |
| 7491 | + ''' |
| 7492 | + |
| 7493 | + Usage: root dcm drop-deployment [OPTIONS] IDENTIFIER VERSION_NAME |
| 7494 | + |
| 7495 | + Drops a version from the DCM Project. |
| 7496 | + |
| 7497 | + |
| 7498 | + +- Arguments ------------------------------------------------------------------+ |
| 7499 | + | * identifier TEXT Identifier of the DCM Project; for example: | |
| 7500 | + | MY_PROJECT | |
| 7501 | + | [required] | |
| 7502 | + | * version_name TEXT Name or alias of the version to drop. For names | |
| 7503 | + | containing '$', use single quotes to prevent | |
| 7504 | + | shell expansion (e.g., 'VERSION$1'). | |
| 7505 | + | [required] | |
| 7506 | + +------------------------------------------------------------------------------+ |
| 7507 | + +- Options --------------------------------------------------------------------+ |
| 7508 | + | --if-exists Do nothing if the version does not exist. | |
| 7509 | + | --help -h Show this message and exit. | |
| 7510 | + +------------------------------------------------------------------------------+ |
| 7511 | + +- Connection configuration ---------------------------------------------------+ |
| 7512 | + | --connection,--environment -c TEXT Name of the connection, as | |
| 7513 | + | defined in your config.toml | |
| 7514 | + | file. Default: default. | |
| 7515 | + | --host TEXT Host address for the | |
| 7516 | + | connection. Overrides the | |
| 7517 | + | value specified for the | |
| 7518 | + | connection. | |
| 7519 | + | --port INTEGER Port for the connection. | |
| 7520 | + | Overrides the value specified | |
| 7521 | + | for the connection. | |
| 7522 | + | --account,--accountname TEXT Name assigned to your | |
| 7523 | + | Snowflake account. Overrides | |
| 7524 | + | the value specified for the | |
| 7525 | + | connection. | |
| 7526 | + | --user,--username TEXT Username to connect to | |
| 7527 | + | Snowflake. Overrides the | |
| 7528 | + | value specified for the | |
| 7529 | + | connection. | |
| 7530 | + | --password TEXT Snowflake password. Overrides | |
| 7531 | + | the value specified for the | |
| 7532 | + | connection. | |
| 7533 | + | --authenticator TEXT Snowflake authenticator. | |
| 7534 | + | Overrides the value specified | |
| 7535 | + | for the connection. | |
| 7536 | + | --private-key-file,--privat… TEXT Snowflake private key file | |
| 7537 | + | path. Overrides the value | |
| 7538 | + | specified for the connection. | |
| 7539 | + | --token TEXT OAuth token to use when | |
| 7540 | + | connecting to Snowflake. | |
| 7541 | + | --token-file-path TEXT Path to file with an OAuth | |
| 7542 | + | token to use when connecting | |
| 7543 | + | to Snowflake. | |
| 7544 | + | --database,--dbname TEXT Database to use. Overrides | |
| 7545 | + | the value specified for the | |
| 7546 | + | connection. | |
| 7547 | + | --schema,--schemaname TEXT Database schema to use. | |
| 7548 | + | Overrides the value specified | |
| 7549 | + | for the connection. | |
| 7550 | + | --role,--rolename TEXT Role to use. Overrides the | |
| 7551 | + | value specified for the | |
| 7552 | + | connection. | |
| 7553 | + | --warehouse TEXT Warehouse to use. Overrides | |
| 7554 | + | the value specified for the | |
| 7555 | + | connection. | |
| 7556 | + | --temporary-connection -x Uses a connection defined | |
| 7557 | + | with command line parameters, | |
| 7558 | + | instead of one defined in | |
| 7559 | + | config | |
| 7560 | + | --mfa-passcode TEXT Token to use for multi-factor | |
| 7561 | + | authentication (MFA) | |
| 7562 | + | --enable-diag Whether to generate a | |
| 7563 | + | connection diagnostic report. | |
| 7564 | + | --diag-log-path TEXT Path for the generated | |
| 7565 | + | report. Defaults to system | |
| 7566 | + | temporary directory. | |
| 7567 | + | --diag-allowlist-path TEXT Path to a JSON file that | |
| 7568 | + | contains allowlist | |
| 7569 | + | parameters. | |
| 7570 | + | --oauth-client-id TEXT Value of client id provided | |
| 7571 | + | by the Identity Provider for | |
| 7572 | + | Snowflake integration. | |
| 7573 | + | --oauth-client-secret TEXT Value of the client secret | |
| 7574 | + | provided by the Identity | |
| 7575 | + | Provider for Snowflake | |
| 7576 | + | integration. | |
| 7577 | + | --oauth-authorization-url TEXT Identity Provider endpoint | |
| 7578 | + | supplying the authorization | |
| 7579 | + | code to the driver. | |
| 7580 | + | --oauth-token-request-url TEXT Identity Provider endpoint | |
| 7581 | + | supplying the access tokens | |
| 7582 | + | to the driver. | |
| 7583 | + | --oauth-redirect-uri TEXT URI to use for authorization | |
| 7584 | + | code redirection. | |
| 7585 | + | --oauth-scope TEXT Scope requested in the | |
| 7586 | + | Identity Provider | |
| 7587 | + | authorization request. | |
| 7588 | + | --oauth-disable-pkce Disables Proof Key for Code | |
| 7589 | + | Exchange (PKCE). Default: | |
| 7590 | + | False. | |
| 7591 | + | --oauth-enable-refresh-toke… Enables a silent | |
| 7592 | + | re-authentication when the | |
| 7593 | + | actual access token becomes | |
| 7594 | + | outdated. Default: False. | |
| 7595 | + | --oauth-enable-single-use-r… Whether to opt-in to | |
| 7596 | + | single-use refresh token | |
| 7597 | + | semantics. Default: False. | |
| 7598 | + | --client-store-temporary-cr… Store the temporary | |
| 7599 | + | credential. | |
| 7600 | + +------------------------------------------------------------------------------+ |
| 7601 | + +- Global configuration -------------------------------------------------------+ |
| 7602 | + | --format [TABLE|JSON|JSON_EXT| Specifies the output | |
| 7603 | + | CSV] format. | |
| 7604 | + | [default: TABLE] | |
| 7605 | + | --verbose -v Displays log entries | |
| 7606 | + | for log levels info | |
| 7607 | + | and higher. | |
| 7608 | + | --debug Displays log entries | |
| 7609 | + | for log levels debug | |
| 7610 | + | and higher; debug logs | |
| 7611 | + | contain additional | |
| 7612 | + | information. | |
| 7613 | + | --silent Turns off intermediate | |
| 7614 | + | output to console. | |
| 7615 | + | --enhanced-exit-codes Differentiate exit | |
| 7616 | + | error codes based on | |
| 7617 | + | failure type. | |
| 7618 | + | [env var: | |
| 7619 | + | SNOWFLAKE_ENHANCED_EX… | |
| 7620 | + +------------------------------------------------------------------------------+ |
| 7621 | + |
| 7622 | + |
7488 | 7623 | '''
|
7489 | 7624 | # ---
|
7490 | 7625 | # name: test_help_messages[dcm.drop-version]
|
|
8172 | 8307 | | deploy Applies changes defined in DCM Project to Snowflake. |
|
8173 | 8308 | | describe Provides description of DCM Project. |
|
8174 | 8309 | | drop Drops DCM Project with given name. |
|
8175 |
| - | drop-version Drops a version from the DCM Project. | |
| 8310 | + | drop-deployment Drops a version from the DCM Project. | |
8176 | 8311 | | list Lists all available DCM Projects. |
|
8177 | 8312 | | list-deployments Lists deployments of given DCM Project. |
|
8178 | 8313 | | plan Plans a DCM Project deployment (validates without |
|
|
20820 | 20955 | | deploy Applies changes defined in DCM Project to Snowflake. |
|
20821 | 20956 | | describe Provides description of DCM Project. |
|
20822 | 20957 | | drop Drops DCM Project with given name. |
|
20823 |
| - | drop-version Drops a version from the DCM Project. | |
| 20958 | + | drop-deployment Drops a version from the DCM Project. | |
20824 | 20959 | | list Lists all available DCM Projects. |
|
20825 | 20960 | | list-deployments Lists deployments of given DCM Project. |
|
20826 | 20961 | | plan Plans a DCM Project deployment (validates without |
|
|
0 commit comments