|
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
|
|
49.
|
|
|
|
|
|
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_warnings.go:60
|
|
50.
|
|
|
The pack command packs the given snap-dir as a snap and writes the result to
target-dir. If target-dir is omitted, the result is written to current
directory. If both source-dir and target-dir are omitted, the pack command packs
the current directory.
The default file name for a snap can be derived entirely from its snap.yaml, but
in some situations it's simpler for a script to feed the filename in. In those
cases, --filename can be given to override the default. If this filename is
not absolute it will be taken as relative to target-dir.
When used with --check-skeleton, pack only checks whether snap-dir contains
valid snap metadata and raises an error otherwise. Application commands listed
in snap metadata file, but appearing with incorrect permission bits result in an
error. Commands that are missing from snap-dir are listed in diagnostic
messages.
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
|
|
|
Translated by
Luke Na
|
|
|
|
Located in
cmd/snap/cmd_pack.go:49
|
|
51.
|
|
|
The paths command prints the list of paths detected and used by snapd.
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
|
paths 命令打印 snapd 检测到和使用的路径列表。
|
|
Translated by
Luke Na
|
|
|
|
Located in
cmd/snap/cmd_paths.go:32
|
|
52.
|
|
|
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
|
|
|
Translated by
Luke Na
|
|
|
|
Located in
cmd/snap/cmd_routine_portal_info.go:43
|
|
53.
|
|
|
The prefer command enables all aliases of the given snap in preference
to conflicting aliases of other snaps whose aliases will be disabled
(or removed, for manual ones).
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
|
prefer 命令将启用给定 snap 的所有别名,而不是将禁用(或删除手动别名)其别名的其他 snap 的冲突别名。
|
|
Translated by
Luke Na
|
|
|
|
Located in
cmd/snap/cmd_prefer.go:36
|
|
54.
|
|
|
The prepare-image command performs some of the steps necessary for
creating device images.
For core images it is not invoked directly but usually via
ubuntu-image.
For preparing classic images it supports a --classic mode
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
|
|
|
Translated by
Luke Na
|
|
|
|
Located in
cmd/snap/cmd_prepare_image.go:64
|