Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 0727686

Browse files
[skip-changelog] Add output.no_color to configuration docs (#2246)
* Add output.no_color to configuration docs * Add output.no_color to configuration.schema.json
1 parent df12786 commit 0727686

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

‎configuration/configuration.schema.json‎

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,16 @@
135135
},
136136
"type": "object"
137137
},
138+
"output": {
139+
"description": "settings related to text output.",
140+
"properties": {
141+
"no_color": {
142+
"description": "ANSI color escape codes are added by default to the output. Set to `true` to disable colored text output.",
143+
"type": "boolean"
144+
}
145+
},
146+
"type": "object"
147+
},
138148
"sketch": {
139149
"description": "configuration options relating to [Arduino sketches][sketch specification].",
140150
"properties": {

‎docs/configuration.md‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@
2828
- `metrics` - settings related to the collection of data used for continued improvement of Arduino CLI.
2929
- `addr` - TCP port used for metrics communication.
3030
- `enabled` - controls the use of metrics.
31+
- `output` - settings related to text output.
32+
- `no_color` - ANSI color escape codes are added by default to the output. Set to `true` to disable colored text
33+
output.
3134
- `sketch` - configuration options relating to [Arduino sketches][sketch specification].
3235
- `always_export_binaries` - set to `true` to make [`arduino-cli compile`][arduino-cli compile] always save binaries
3336
to the sketch folder. This is the equivalent of using the [`--export-binaries`][arduino-cli compile options] flag.

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /