|
37.
|
|
|
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
cmd/snap/cmd_snap_op.go:52
|
|
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.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
cmd/snap/cmd_interfaces.go:40
|
|
40.
|
|
|
![](/@@/translation-newline)
The is-connected command returns success if the given plug or slot of the ![](/@@/translation-newline)
calling snap is connected, and failure otherwise.
![](/@@/translation-newline)
$ snapctl is-connected plug ![](/@@/translation-newline)
$ echo $? ![](/@@/translation-newline)
1
![](/@@/translation-newline)
Snaps can only query their own plugs and slots - snap name is implicit and ![](/@@/translation-newline)
implied by the snapctl execution context.
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
overlord/hookstate/ctlcmd/is_connected.go:40
|
|
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.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
cmd/snap/cmd_warnings.go:60
|
|
50.
|
|
|
![](/@@/translation-newline)
The pack command packs the given snap-dir as a snap and writes the result to ![](/@@/translation-newline)
target-dir. If target-dir is omitted, the result is written to current ![](/@@/translation-newline)
directory. If both source-dir and target-dir are omitted, the pack command packs ![](/@@/translation-newline)
the current directory.
![](/@@/translation-newline)
The default file name for a snap can be derived entirely from its snap.yaml, but ![](/@@/translation-newline)
in some situations it's simpler for a script to feed the filename in. In those ![](/@@/translation-newline)
cases, --filename can be given to override the default. If this filename is ![](/@@/translation-newline)
not absolute it will be taken as relative to target-dir.
![](/@@/translation-newline)
When used with --check-skeleton, pack only checks whether snap-dir contains ![](/@@/translation-newline)
valid snap metadata and raises an error otherwise. Application commands listed ![](/@@/translation-newline)
in snap metadata file, but appearing with incorrect permission bits result in an ![](/@@/translation-newline)
error. Commands that are missing from snap-dir are listed in diagnostic ![](/@@/translation-newline)
messages.
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
cmd/snap/cmd_pack.go:49
|
|
52.
|
|
|
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
cmd/snap/cmd_routine_portal_info.go:43
|
|
54.
|
|
|
![](/@@/translation-newline)
The prepare-image command performs some of the steps necessary for ![](/@@/translation-newline)
creating device images.
![](/@@/translation-newline)
For core images it is not invoked directly but usually via ![](/@@/translation-newline)
ubuntu-image.
![](/@@/translation-newline)
For preparing classic images it supports a --classic mode
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
cmd/snap/cmd_prepare_image.go:64
|
|
56.
|
|
|
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
cmd/snap/cmd_reboot.go:42
|
|
57.
|
|
|
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
cmd/snap/cmd_recovery.go:41
|