snow

개발자를 위한 Snowflake CLI 도구.

구문

snow [<resource-commands>]
  --version
  --info
  --config-file <configuration_file>
  --help
Copy

인자

[resource-commands]

Snowflake CLI 리소스 관리를 위한 선택적 명령입니다.

선택 사항

--version

Snowflake CLI 의 버전을 표시합니다.

--info

Snowflake CLI 에 대한 정보를 표시합니다.

--config-file configuration_file

사용할 대체 Snowflake CLI 구성 파일을 지정합니다.

--help

이 명령에 대한 도움말 텍스트를 표시합니다.

사용법 노트

snow 명령은 Snowflake 리소스를 관리하기 위한 다음 명령을 지원합니다.

  • Snowflake CLI 버전을 표시하려면 다음 명령을 실행합니다.

    snow --version
    
    Copy
    Snowflake CLI version: 3.0.0
    
  • Snowflake CLI 에 대한 정보를 표시하려면 다음 명령을 실행합니다.

    snow --info
    
    Copy
    [
        {
            "key": "version",
            "value": "3.0.0"
        },
        {
            "key": "default_config_file_path",
            "value": "<user-home>/.snowflake/config.toml"
        },
        {
            "key": "python_version",
            "value": "3.11.6 (v3.11.6:8b6ee5ba3b, Oct  2 2023, 11:18:21) [Clang 13.0.0 (clang-1300.0.29.30)]"
        },
        {
            "key": "system_info",
            "value": "macOS-14.4.1-x86_64-i386-64bit"
        },
        {
            "key": "feature_flags",
            "value": {}
        }
    ]
    
  • snow 명령에 대한 명령줄 도움말을 표시하려면 다음 명령을 실행합니다.

    snow --help
    
    Copy
    Usage: snow [OPTIONS] COMMAND [ARGS]...
    
    Snowflake CLI tool for developers.
    
    ╭─ Options ────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
    │ --version                           Shows version of the Snowflake CLI                                                                   │
    │ --info                              Shows information about the Snowflake CLI                                                            │
    │ --config-file                 FILE  Specifies Snowflake CLI configuration file that should be used [default: None]                       │
    │ --install-completion                Install completion for the current shell.                                                            │
    │ --show-completion                   Show completion for the current shell, to copy it or customize the installation.                     │
    │ --help                -h            Show this message and exit.                                                                          │
    ╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
    ╭─ Commands ───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
    │ app          Manages a Snowflake Native App                                                                                              │
    │ connection   Manages connections to Snowflake.                                                                                           │
    │ cortex       Provides access to Snowflake Cortex.                                                                                        │
    │ git          Manages git repositories in Snowflake.                                                                                      │
    │ notebook     Manages notebooks in Snowflake.                                                                                             │
    │ object       Manages Snowflake objects like warehouses and stages                                                                        │
    │ snowpark     Manages procedures and functions.                                                                                           │
    │ spcs         Manages Snowpark Container Services compute pools, services, image registries, and image repositories.                      │
    │ sql          Executes Snowflake query.                                                                                                   │
    │ stage        Manages stages.                                                                                                             │
    │ streamlit    Manages a Streamlit app in Snowflake.                                                                                       │
    ╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
    
  • 명령줄 도움말 리소스 명령을 표시하려면 snow spcs 명령에 대한 도움말을 표시하는 다음과 유사한 명령을 실행합니다.

    snow spcs --help
    
    Copy
    Usage: snow spcs [OPTIONS] COMMAND [ARGS]...
    
    Manages Snowpark Container Services compute pools, services, image registries, and image repositories.
    
    ╭─ Options ────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
    │ --help  -h        Show this message and exit.                                                                        │
    ╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
    ╭─ Commands ───────────────────────────────────────────────────────────────────────────────────────────────────────────╮
    │ compute-pool       Manages compute pools.                                                                            │
    │ image-registry     Manages image registries.                                                                         │
    │ image-repository   Manages image repositories.                                                                       │
    │ service            Manages services.                                                                                 │
    ╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯