snow connection set-default

Changes default connection to provided value.

Syntax

snow connection set-default
  <name>
  --format <format>
  --verbose
  --debug
  --silent
Copy

Arguments

name

Name of the connection, as defined in your config.toml file.

Options

--format [TABLE|JSON]

Specifies the output format. Default: TABLE.

--verbose, -v

Displays log entries for log levels info and higher. Default: False.

--debug

Displays log entries for log levels debug and higher; debug logs contain additional information. Default: False.

--silent

Turns off intermediate output to console. Default: False.

--help

Displays 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"
Copy
Default connection set to: my_test_connection
Language: English