commands.sh

pio check

all

Perform a static analysis check on a PlatformIO project.

More info →

Options (3)

-d, --project-dirboolean

Perform a basic analysis check on a specific project

Example: pio check {{[-d|--project-dir]}} {{project_directory}}
-e, --environmentboolean

Perform an analysis check for a specific environment

Example: pio check {{[-e|--environment]}} {{environment}}
-v, --verboseboolean

Perform an analysis check and show detailed information when processing environments

Example: pio check {{[-v|--verbose]}}

Examples (5)

Perform a basic analysis check on the current project

Perform a basic analysis check on a specific project

pio check [-d|--project-dir] project_directory

Perform an analysis check for a specific environment

pio check [-e|--environment] environment

Perform an analysis check and only report a specified defect severity type

pio check --severity low|medium|high

Perform an analysis check and show detailed information when processing environments

pio check [-v|--verbose]
made by @shridhargupta | data from tldr-pages