snap¶
Process parts and create a snap file containing the project payload with the provided metadata. This command is deprecated in favour of the newer ‘pack’ command.
Usage¶
snapcraft snap [options]
Options¶
--bind-ssh
Bind ~/.ssh directory to local build instances.
--build-for
Set target architecture to build for.
--debug
Shell into the environment if the build fails.
--destructive-mode
Build in the current host.
--enable-experimental-plugins
Allow using experimental (unstable) plugins.
--enable-experimental-ua-services
Allow selection of UA services to enable.
--http-proxy
Set http proxy.
--https-proxy
Set https proxy.
-o
or--output
Path to the resulting snap.
--ua-token
Configure build environment with ESM using specified UA token.
--use-lxd
Use LXD to build.
Global options¶
-h
or--help
Show this help message and exit.
-q
or--quiet
Only show warnings and errors, not progress.
-v
or--verbose
Show debug information and be more verbose.
--verbosity
Set the verbosity level to ‘quiet’, ‘brief’, ‘verbose’, ‘debug’ or ‘trace’.
-V
or--version
Show the application version and exit.