|
39.
|
|
|
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
represents a space character.
Enter a space in the equivalent position in the translation.
|
|
|
|
|
|
Translated by
Luke Na
|
|
|
|
Located in
cmd/snap/cmd_interfaces.go:40
|
|
40.
|
|
|
The is-connected command returns success if the given plug or slot of the
calling snap is connected, and failure otherwise.
$ snapctl is-connected plug
$ echo $?
1
Snaps can only query their own plugs and slots - snap name is implicit and
implied by the snapctl execution context.
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
|
|
|
Translated by
Luke Na
|
|
|
|
Located in
overlord/hookstate/ctlcmd/is_connected.go:40
|
|
41.
|
|
|
The keys command lists cryptographic keys that can be used for signing
assertions.
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
|
keys 命令列出可用于签署声明 的加密密钥。
|
|
Translated by
Luke Na
|
|
|
|
Located in
cmd/snap/cmd_keys.go:39
|
|
42.
|
|
|
The known command shows known assertions of the provided type.
If header=value pairs are provided after the assertion type, the assertions
shown must also have the specified headers matching the provided values.
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
|
known 命令显示所提供类型的已知声明 。
如果在声明 类型之后提供了 header=value 对,则显示的声明 还必须具有与提供的值匹配的指定标头。
|
|
Translated by
Luke Na
|
|
|
|
Located in
cmd/snap/cmd_known.go:49
|
|
43.
|
|
|
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
|
|
|
Translated and reviewed by
Luke Na
|
|
|
|
Located in
cmd/snap/cmd_list.go:36
|
|
44.
|
|
|
The login command authenticates the user to snapd and the snap store, and saves
credentials into the ~/.snap/auth.json file. Further communication with snapd
will then be made using those credentials.
It's not necessary to log in to interact with snapd. Doing so, however, enables
purchasing of snaps using 'snap buy', as well as some some developer-oriented
features as detailed in the help for the find, install and refresh commands.
An account can be set up at https://login.ubuntu.com
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
|
|
|
Translated by
Luke Na
|
|
|
|
Located in
cmd/snap/cmd_login.go:42
|
|
45.
|
|
|
The logout command logs the current user out of snapd and the store.
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
|
logout 命令将当前用户从 snapd 和存储中注销。
|
|
Translated by
Luke Na
|
|
|
|
Located in
cmd/snap/cmd_logout.go:34
|
|
46.
|
|
|
The logs command fetches logs of the given services and displays them in
chronological order.
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
|
logs 命令获取给定服务的日志并按时间顺序显示它们。
|
|
Translated and reviewed by
Luke Na
|
|
|
|
Located in
cmd/snap/cmd_services.go:58
|
|
47.
|
|
|
The managed command will print true or false informing whether
snapd has registered users.
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
|
managed 命令将打印 true 或 false 以告知 snapd 是否存在已注册用户。
|
|
Translated and reviewed by
Luke Na
|
|
|
|
Located in
cmd/snap/cmd_managed.go:31
|
|
48.
|
|
|
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
cmd/snap/cmd_model.go:35
|