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.

Options

--format [TABLE|JSON]

Specifies the output format.

--verbose, -v

Displays log entries for log levels info and higher.

--debug

Displays log entries for log levels debug and higher; debug logs contains additional information.

--silent

Turns off intermediate output to console.

--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