Skip to content

plugin-check-cli

The check-plugin command: runs validatePluginRelease and, with --scanner, runScannerCheck, prints what they found and turns it into an exit code. A plugin runs it before a release, or to reproduce a scanner finding on its own machine.

Interface Description
CheckPluginArguments The parsed command line of check-plugin.
Function Description
parseCheckPluginArguments Parses the command line of check-plugin: --tag=<tag> (defaulting to the tag of GITHUB_REF when that is a tag ref), --dist=<folder>, --require-assets, --api-version, --scanner, --scanner-version=<tag>, --no-strict and --repository=<owner/repo> (defaulting to GITHUB_REPOSITORY).
runCheckPluginCli Runs check-plugin.