colcon-output

0.2.14 · active · verified Fri Apr 17

colcon-output is an extension for the colcon build tool, primarily used in the ROS ecosystem, to customize and enhance the terminal output in various ways. It provides alternative output formats like 'log' for more detailed logs and 'json' for machine-readable output. The current version is 0.2.14, and it follows an infrequent, feature-driven release cadence, typically aligning with `colcon-core` updates.

Common errors

Warnings

Install

Imports

Quickstart

This quickstart demonstrates how to use the `colcon-output` extension by specifying different output formats during a `colcon build` command. The `--output-format` argument allows you to switch between available formats like `standard`, `log`, `json`, or `json_verbose`.

# Assuming you have a colcon workspace with a package (e.g., 'my_package')
# Build with the 'log' output format for detailed messages
# (Often used in CI/CD or when debugging verbose output)
colcon build --packages-select my_package --output-format log

# Build with the 'json' output format for machine-readable results
# (Useful for parsing build status in scripts)
colcon build --packages-select my_package --output-format json

view raw JSON →