Browsing Portuguese translation

33 of 925 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,
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".
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.

O comando "get" imprime opções de configuração para o snap atual.

$ snapctl get username
frank

Se forem fornecidos vários nomes de opção, um documento é retornado:

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

Valores aninhados podem ser recuperados por meio de um caminho com pontos.

$ snapctl get author.name
frank

Valores das configurações de conexão da interface podem ser impressos

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

Também é possível retornar a configuração do endpoint
do snap conectado solicitando explicitamente a
configuração com as opções de comando opcionais --plug e --slot:

$ snapctl get :myplug --slot usb-vendor

Isto solicita a configuração "usb-vendor" do slot que está conectado a
"myplug".
Translated and reviewed by Ivo Xavier
Located in overlord/hookstate/ctlcmd/get.go:52
33 of 925 results

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

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