`charmcraft analyze`


charmcraft analyze [options] <filepath>


Analyze a charm.

Report the attributes and lint results directly in the terminal. Use --force to run even those configured to be ignored.


-h, --help Show this help message and exit
-v, --verbose Show debug information and be more verbose
-q, --quiet Only show warnings and errors, not progress
--verbosity Set the verbosity level to ‘quiet’, ‘brief’, ‘verbose’, ‘debug’ or ‘trace’
-p, --project-dir Specify the project’s directory (defaults to current)
--format Produce the result formatted as a JSON string
--force Force to run all checks, even those set to ignore in the configuration

See also:

  • clean
  • init
  • pack
  • version

Last updated 7 months ago.