try¶
Process parts and expose the prime directory containing the
final payload, in preparation for snap try prime.
Usage¶
snapcraft try [options] <directory>
Required¶
- directory
- Directory to pack. 
Options¶
- --build-for
- Set architecture to build for. 
- --debug
- Shell into the environment if the build fails. 
- --destructive-mode
- Build in the current host. 
- --outputor- -o
- Output directory for created packages. 
- --platform
- Set platform to build for. 
- --shell
- Shell into the environment in lieu of the step to run. 
- --shell-after
- Shell into the environment after the step has run. 
- --use-lxd
- Build in a LXD container. 
Global options¶
- -hor- --help
- Show this help message and exit. 
- -qor- --quiet
- Only show warnings and errors, not progress. 
- -vor- --verbose
- Show debug information and be more verbose. 
- --verbosity
- Set the verbosity level to ‘quiet’, ‘brief’, ‘verbose’, ‘debug’ or ‘trace’. 
- -Vor- --version
- Show the application version and exit. 
