arduino/arduino-app-cli

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

Aperta

#77 aperta il 14 nov 2025

 (0 commenti) (0 reazioni) (0 assegnatari)Go (16 fork)auto 404
buggood first issue

Metriche repository

Star
 (30 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

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"

Guida contributor