I have sinned, dear Father // Father, I have sinned
$ snapctl get -h
Usage:
  snapctl [OPTIONS] get [get-OPTIONS] [:<plug|slot>] [<keys>...]

The get command prints configuration options for the current snap.

$ snapctl get username
frank

If multiple option names are provided, a document is returned:

$ snapctl get username password
{
"username": "frank",
"password": "..."
}

Nested values may be retrieved via a dotted path:

$ snapctl get author.name
frank

Values of interface connection settings may be printed with:

$ snapctl get :myplug usb-vendor
$ snapctl get :myslot path

This will return the named setting from the local interface endpoint,
regardless whether it's a plug or a slot. Returning the setting from the
connected snap's endpoint is also possible by requesting the setting explicitly
with optional --plug and --slot command options:

$ snapctl get :myplug --slot usb-vendor

This requests the "usb-vendor" setting from the slot that is connected to
"myplug".


Help Options:
  -h, --help              Show this help message

[get command options]
          --slot          return attribute values from the slot side of the
                          connection
          --plug          return attribute values from the plug side of the
                          connection
          --view          return confdb values from the view declared in the
                          plug
          --previous      return confdb values disregarding changes from the
                          current transaction
      -d                  always return document, even with single key
      -t                  strict typing with nulls and quoted strings
          --default=      a default value to be used when no value is set

[get command arguments]
  <keys>:                 option keys