From adb9a4ad19895c4d90593613aa85f028395962cd Mon Sep 17 00:00:00 2001 From: MatteoPologruto Date: Tue, 18 Jul 2023 17:36:34 +0200 Subject: [PATCH 1/2] Add output.no_color to configuration docs --- docs/configuration.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/configuration.md b/docs/configuration.md index fd8aaa33f71..334dac750a4 100644 --- a/docs/configuration.md +++ b/docs/configuration.md @@ -28,6 +28,9 @@ - `metrics` - settings related to the collection of data used for continued improvement of Arduino CLI. - `addr` - TCP port used for metrics communication. - `enabled` - controls the use of metrics. +- `output` - settings related to text output. + - `no_color` - ANSI color escape codes are added by default to the output. Set to `true` to disable colored text + output. - `sketch` - configuration options relating to [Arduino sketches][sketch specification]. - `always_export_binaries` - set to `true` to make [`arduino-cli compile`][arduino-cli compile] always save binaries to the sketch folder. This is the equivalent of using the [`--export-binaries`][arduino-cli compile options] flag. From 2cc26ae99db653bfa1b15d1c68f676724f1e6c99 Mon Sep 17 00:00:00 2001 From: MatteoPologruto Date: Wed, 19 Jul 2023 09:25:50 +0200 Subject: [PATCH 2/2] Add output.no_color to configuration.schema.json --- configuration/configuration.schema.json | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/configuration/configuration.schema.json b/configuration/configuration.schema.json index dae8cf66a6d..a273353967b 100644 --- a/configuration/configuration.schema.json +++ b/configuration/configuration.schema.json @@ -135,6 +135,16 @@ }, "type": "object" }, + "output": { + "description": "settings related to text output.", + "properties": { + "no_color": { + "description": "ANSI color escape codes are added by default to the output. Set to `true` to disable colored text output.", + "type": "boolean" + } + }, + "type": "object" + }, "sketch": { "description": "configuration options relating to [Arduino sketches][sketch specification].", "properties": {