snow¶
Ferramenta Snowflake CLI para desenvolvedores.
Sintaxe¶
snow [<resource-commands>]
--version
--info
--config-file <configuration_file>
--help
Argumentos¶
[resource-commands]
Comandos opcionais para gerenciamento de recursos Snowflake CLI.
Opções¶
--version
Exibe a versão de Snowflake CLI.
--info
Exibe informações sobre Snowflake CLI.
--config-file configuration_file
Especifica uma configuração do Snowflake CLI alternativa a ser usada.
--help
Exibe o texto de ajuda para este comando.
Notas de uso¶
O comando snow oferece suporte aos seguintes comandos para gerenciar os recursos do Snowflake:
Exemplos¶
Para exibir a versão do Snowflake CLI, execute o seguinte comando:
snow --version
Snowflake CLI version: 3.0.0
Para exibir informações sobre Snowflake CLI, execute o seguinte comando:
snow --info
[ { "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": {} } ]
Para exibir a ajuda da linha de comando para o comando
snow
, execute o seguinte comando:snow --help
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. │ ╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
Para exibir os comandos de recurso de ajuda da linha de comando, execute um comando semelhante ao seguinte que exibe ajuda para os comandos
snow spcs
:snow spcs --help
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. │ ╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯