Browsing Ukrainian translation

33 of 815 results
33.

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, whether a plug
or a slot. Returning the setting from the connected snap's endpoint is also possible
by explicitly requesting that via the --plug and --slot command line options:

$ snapctl get :myplug --slot usb-vendor

This requests the "usb-vendor" setting from the slot that is connected to "myplug".
There are line breaks here. Each one represents a line break. Start a new line in the equivalent position in the translation.
There are leading/trailing spaces here. Each one represents a space character. Enter a space in the equivalent position in the translation.

Команда get виводить параметри конфігурації для поточного snap-пакунку.

$ snapctl get username
frank

Якщо надано кілька назв параметрів, відповідь буде у вигляді документу:

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

Звернення до вкладених значень здійснюється через точку:

$ snapctl get author.name
frank

Значення параметрів для інтерфейсних з'єднань може бути виведене через:

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

Це виведе назване налаштування з кінцевої точки локального інтерфейсу,
будь то вилка або гніздо. Також можливе повернення параметра з кінцевої
точки приєднаного snap, якщо явно зробити запит до них за допомогою
параметрів командного рядка -plug and -slot:

$ snapctl get :myplug --slot usb-vendor

Тут здійснюється запит до параметру «usb-vendor» з гнізда, що приєднаний до «myplug».
Translated and reviewed by Andrii Prokopenko
Located in overlord/hookstate/ctlcmd/get.go:52
33 of 815 results

This translation is managed by Ubuntu Ukrainian Translators, assigned by Ubuntu Translators.

You are not logged in. Please log in to work on translations.