snow connection set-default¶
Changes default connection to provided value.
Syntax¶
snow connection set-default
<name>
--format <format>
--verbose
--debug
--silent
--enhanced-exit-codes
Arguments¶
nameName of the connection, as defined in your
config.tomlfile.
Options¶
--format [TABLE|JSON|JSON_EXT|CSV]Specifies the output format. Default: TABLE.
--verbose, -vDisplays log entries for log levels
infoand higher. Default: False.--debugDisplays log entries for log levels
debugand higher; debug logs contain additional information. Default: False.--silentTurns off intermediate output to console. Default: False.
--enhanced-exit-codesDifferentiate exit error codes based on failure type. Default: False.
--helpDisplays the help text for this command.
Usage notes¶
This command lets you change the default connection from the command line instead of changing the value of default_connection_name in the config.toml file each time. Using this command can simplify changing between multiple connections.
Examples¶
snow connection set-default "my_test_connection"
Default connection set to: my_test_connection