lint¶
Lint an existing snap file.
The snap is installed and linted inside a build environment. If an assertion
file exists in the same directory as the snap file with the name
<snap-name>.assert
, it will be used to install the snap in the instance.
Usage¶
snapcraft lint [options] <snap-file>
Required¶
snap-file
Snap file to lint.
Options¶
--http-proxy
Set http proxy.
--https-proxy
Set https proxy.
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.