arduino/arduino-app-cli

Do not use the the Caser for language-specific casing in the cli output

Open

#77 opened on Nov 14, 2025

 (0 comments) (0 reactions) (0 assignees)Go (16 forks)auto 404
buggood first issue

Repository metrics

Stars
 (30 stars)
PR merge metrics
 (PR metrics pending)

Description

Motivation

The arduino-app-cli uses the "golang.org/x/text/cases" to print the error to the console with capitalize words.

This causes an issue when a word MUST not change.

For example, in the following case, the ARDUINO_DEVICE_ID is a configuration variable that must not be changed in the error exposed to the user.

Example: Input: variable \"ARDUINO_DEVICE_ID\" is required by brick \"arduino:arduino_cloud\" Output: [ERROR] Variable "Arduino_device_id" Is Required By Brick "Arduino:arduino_cloud"

Contributor guide