|
44.
|
|
|
![](/@@/translation-newline)
The login command authenticates the user to snapd and the snap store, and saves ![](/@@/translation-newline)
credentials into the ~/.snap/auth.json file. Further communication with snapd ![](/@@/translation-newline)
will then be made using those credentials.
![](/@@/translation-newline)
It's not necessary to log in to interact with snapd. Doing so, however, enables ![](/@@/translation-newline)
purchasing of snaps using 'snap buy', as well as some some developer-oriented ![](/@@/translation-newline)
features as detailed in the help for the find, install and refresh commands.
![](/@@/translation-newline)
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.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
cmd/snap/cmd_login.go:42
|
|
45.
|
|
|
![](/@@/translation-newline)
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.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
cmd/snap/cmd_logout.go:34
|
|
46.
|
|
|
![](/@@/translation-newline)
The logs command fetches logs of the given services and displays them in ![](/@@/translation-newline)
chronological order.
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
cmd/snap/cmd_services.go:58
|
|
47.
|
|
|
![](/@@/translation-newline)
The managed command will print true or false informing whether ![](/@@/translation-newline)
snapd has registered users.
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
|
(no translation yet)
|
|
|
|
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.
|
|
|
|
(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
|
|
51.
|
|
|
![](/@@/translation-newline)
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.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
cmd/snap/cmd_paths.go:32
|
|
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
|
|
53.
|
|
|
![](/@@/translation-newline)
The prefer command enables all aliases of the given snap in preference ![](/@@/translation-newline)
to conflicting aliases of other snaps whose aliases will be disabled ![](/@@/translation-newline)
(or removed, for manual ones).
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
cmd/snap/cmd_prefer.go:36
|