HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

pio check — Perform a static analysis check on a PlatformIO project. More information: <https://docs.platformio.

Submitted by: @import:tldr-pages··
0
Viewed 0 times
pio checkcommandstaticanalysisperformclicheckplatformio

Problem

How to use the pio check command: Perform a static analysis check on a PlatformIO project. More information: <https://docs.platformio.org/en/latest/core/userguide/cmd_check.html>.

Solution

pio check — Perform a static analysis check on a PlatformIO project. More information: <https://docs.platformio.org/en/latest/core/userguide/cmd_check.html>.

Perform a basic analysis check on the current project:
pio check


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]}}

Code Snippets

Perform a basic analysis check on the current project

pio check

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]}}

Context

tldr-pages: common/pio check

Revisions (0)

No revisions yet.