|
7620 | 7620 | +------------------------------------------------------------------------------+
|
7621 | 7621 |
|
7622 | 7622 |
|
7623 |
| - ''' |
7624 |
| -# --- |
7625 |
| -# name: test_help_messages[dcm.drop-version] |
7626 |
| - ''' |
7627 |
| - |
7628 |
| - Usage: root dcm drop-version [OPTIONS] IDENTIFIER VERSION_NAME |
7629 |
| - |
7630 |
| - Drops a version from the DCM Project. |
7631 |
| - |
7632 |
| - |
7633 |
| - +- Arguments ------------------------------------------------------------------+ |
7634 |
| - | * identifier TEXT Identifier of the DCM Project; for example: | |
7635 |
| - | MY_PROJECT | |
7636 |
| - | [required] | |
7637 |
| - | * version_name TEXT Name or alias of the version to drop. For names | |
7638 |
| - | containing '$', use single quotes to prevent | |
7639 |
| - | shell expansion (e.g., 'VERSION$1'). | |
7640 |
| - | [required] | |
7641 |
| - +------------------------------------------------------------------------------+ |
7642 |
| - +- Options --------------------------------------------------------------------+ |
7643 |
| - | --if-exists Do nothing if the version does not exist. | |
7644 |
| - | --help -h Show this message and exit. | |
7645 |
| - +------------------------------------------------------------------------------+ |
7646 |
| - +- Connection configuration ---------------------------------------------------+ |
7647 |
| - | --connection,--environment -c TEXT Name of the connection, as | |
7648 |
| - | defined in your config.toml | |
7649 |
| - | file. Default: default. | |
7650 |
| - | --host TEXT Host address for the | |
7651 |
| - | connection. Overrides the | |
7652 |
| - | value specified for the | |
7653 |
| - | connection. | |
7654 |
| - | --port INTEGER Port for the connection. | |
7655 |
| - | Overrides the value specified | |
7656 |
| - | for the connection. | |
7657 |
| - | --account,--accountname TEXT Name assigned to your | |
7658 |
| - | Snowflake account. Overrides | |
7659 |
| - | the value specified for the | |
7660 |
| - | connection. | |
7661 |
| - | --user,--username TEXT Username to connect to | |
7662 |
| - | Snowflake. Overrides the | |
7663 |
| - | value specified for the | |
7664 |
| - | connection. | |
7665 |
| - | --password TEXT Snowflake password. Overrides | |
7666 |
| - | the value specified for the | |
7667 |
| - | connection. | |
7668 |
| - | --authenticator TEXT Snowflake authenticator. | |
7669 |
| - | Overrides the value specified | |
7670 |
| - | for the connection. | |
7671 |
| - | --private-key-file,--privat… TEXT Snowflake private key file | |
7672 |
| - | path. Overrides the value | |
7673 |
| - | specified for the connection. | |
7674 |
| - | --token TEXT OAuth token to use when | |
7675 |
| - | connecting to Snowflake. | |
7676 |
| - | --token-file-path TEXT Path to file with an OAuth | |
7677 |
| - | token to use when connecting | |
7678 |
| - | to Snowflake. | |
7679 |
| - | --database,--dbname TEXT Database to use. Overrides | |
7680 |
| - | the value specified for the | |
7681 |
| - | connection. | |
7682 |
| - | --schema,--schemaname TEXT Database schema to use. | |
7683 |
| - | Overrides the value specified | |
7684 |
| - | for the connection. | |
7685 |
| - | --role,--rolename TEXT Role to use. Overrides the | |
7686 |
| - | value specified for the | |
7687 |
| - | connection. | |
7688 |
| - | --warehouse TEXT Warehouse to use. Overrides | |
7689 |
| - | the value specified for the | |
7690 |
| - | connection. | |
7691 |
| - | --temporary-connection -x Uses a connection defined | |
7692 |
| - | with command line parameters, | |
7693 |
| - | instead of one defined in | |
7694 |
| - | config | |
7695 |
| - | --mfa-passcode TEXT Token to use for multi-factor | |
7696 |
| - | authentication (MFA) | |
7697 |
| - | --enable-diag Whether to generate a | |
7698 |
| - | connection diagnostic report. | |
7699 |
| - | --diag-log-path TEXT Path for the generated | |
7700 |
| - | report. Defaults to system | |
7701 |
| - | temporary directory. | |
7702 |
| - | --diag-allowlist-path TEXT Path to a JSON file that | |
7703 |
| - | contains allowlist | |
7704 |
| - | parameters. | |
7705 |
| - | --oauth-client-id TEXT Value of client id provided | |
7706 |
| - | by the Identity Provider for | |
7707 |
| - | Snowflake integration. | |
7708 |
| - | --oauth-client-secret TEXT Value of the client secret | |
7709 |
| - | provided by the Identity | |
7710 |
| - | Provider for Snowflake | |
7711 |
| - | integration. | |
7712 |
| - | --oauth-authorization-url TEXT Identity Provider endpoint | |
7713 |
| - | supplying the authorization | |
7714 |
| - | code to the driver. | |
7715 |
| - | --oauth-token-request-url TEXT Identity Provider endpoint | |
7716 |
| - | supplying the access tokens | |
7717 |
| - | to the driver. | |
7718 |
| - | --oauth-redirect-uri TEXT URI to use for authorization | |
7719 |
| - | code redirection. | |
7720 |
| - | --oauth-scope TEXT Scope requested in the | |
7721 |
| - | Identity Provider | |
7722 |
| - | authorization request. | |
7723 |
| - | --oauth-disable-pkce Disables Proof Key for Code | |
7724 |
| - | Exchange (PKCE). Default: | |
7725 |
| - | False. | |
7726 |
| - | --oauth-enable-refresh-toke… Enables a silent | |
7727 |
| - | re-authentication when the | |
7728 |
| - | actual access token becomes | |
7729 |
| - | outdated. Default: False. | |
7730 |
| - | --oauth-enable-single-use-r… Whether to opt-in to | |
7731 |
| - | single-use refresh token | |
7732 |
| - | semantics. Default: False. | |
7733 |
| - | --client-store-temporary-cr… Store the temporary | |
7734 |
| - | credential. | |
7735 |
| - +------------------------------------------------------------------------------+ |
7736 |
| - +- Global configuration -------------------------------------------------------+ |
7737 |
| - | --format [TABLE|JSON|JSON_EXT| Specifies the output | |
7738 |
| - | CSV] format. | |
7739 |
| - | [default: TABLE] | |
7740 |
| - | --verbose -v Displays log entries | |
7741 |
| - | for log levels info | |
7742 |
| - | and higher. | |
7743 |
| - | --debug Displays log entries | |
7744 |
| - | for log levels debug | |
7745 |
| - | and higher; debug logs | |
7746 |
| - | contain additional | |
7747 |
| - | information. | |
7748 |
| - | --silent Turns off intermediate | |
7749 |
| - | output to console. | |
7750 |
| - | --enhanced-exit-codes Differentiate exit | |
7751 |
| - | error codes based on | |
7752 |
| - | failure type. | |
7753 |
| - | [env var: | |
7754 |
| - | SNOWFLAKE_ENHANCED_EX… | |
7755 |
| - +------------------------------------------------------------------------------+ |
7756 |
| - |
7757 |
| - |
7758 | 7623 | '''
|
7759 | 7624 | # ---
|
7760 | 7625 | # name: test_help_messages[dcm.drop]
|
|
8025 | 7890 |
|
8026 | 7891 |
|
8027 | 7892 | +- Options --------------------------------------------------------------------+
|
8028 |
| - | --like -l TEXT SQL LIKE pattern for filtering objects by | |
8029 |
| - | name. For example, list --like "my%" lists | |
8030 |
| - | all DCM Projects that begin with "my". | |
8031 |
| - | [default: %%] | |
8032 |
| - | --in <TEXT TEXT>... | |
| 7893 | + | --like -l TEXT SQL LIKE pattern for filtering objects by | |
| 7894 | + | name. For example, list --like "my%" lists | |
| 7895 | + | all DCM Projects that begin with "my". | |
| 7896 | + | [default: %%] | |
| 7897 | + | --in <TEXT TEXT>... | |
8033 | 7898 | | |
|
8034 |
| - | Specifies the scope of this command using | |
8035 |
| - | '--in ', for example list --in database | |
8036 |
| - | my_db. | |
8037 |
| - | [default: None, None] | |
8038 |
| - | --help -h Show this message and exit. | |
| 7899 | + | Specifies the scope of this command using | |
| 7900 | + | '--in ', for example list --in database | |
| 7901 | + | my_db. | |
| 7902 | + | [default: None, None] | |
| 7903 | + | --terse Returns only a subset of output columns. | |
| 7904 | + | --limit INTEGER Limits the maximum number of rows returned. | |
| 7905 | + | --help -h Show this message and exit. | |
8039 | 7906 | +------------------------------------------------------------------------------+
|
8040 | 7907 | +- Connection configuration ---------------------------------------------------+
|
8041 | 7908 | | --connection,--environment -c TEXT Name of the connection, as |
|
|
0 commit comments