snow¶
Snowflake CLI-Tool für Entwickler.
Syntax¶
snow [<resource-commands>]
--version
--info
--config-file <configuration_file>
--help
Argumente¶
[resource-commands]
Optionale Befehle zum Verwalten von Snowflake CLI-Ressourcen.
Optionen¶
--version
Zeigt die Version von Snowflake CLI an.
--info
Zeigt Informationen zu Snowflake CLI an.
--config-file configuration_file
Gibt eine alternative Snowflake CLI-Konfigurationsdatei an, die verwendet werden soll.
--help
Zeigt den Hilfetext für diesen Befehl an.
Nutzungshinweise¶
Der Befehl snow unterstützt die folgenden Befehle zum Verwalten von Snowflake-Ressourcen:
Beispiele¶
Um die Version von Snowflake CLI anzuzeigen, führen Sie den folgenden Befehl aus:
snow --version
Snowflake CLI version: 3.0.0
Um Informationen zu Snowflake CLI anzuzeigen, führen Sie den folgenden Befehl aus:
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": {} } ]
Um die Befehlszeilenhilfe für den Befehl
snow
anzuzeigen, führen Sie den folgenden Befehl aus: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. │ ╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
Um die Befehlszeilenhilfe für Ressourcenbefehle anzuzeigen, führen Sie einen Befehl ähnlich dem folgenden aus, der die Hilfe für die Befehle
snow spcs
anzeigt: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. │ ╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯