arduino/arduino-app-cli

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

オープン

#77 opened on 2025/11/14

 (0 件のコメント) (0 件のリアクション) (0 人の担当者)Go (16 件のフォーク)auto 404
buggood first issue

Repository metrics

Stars
 (30 個のスター)
PR merge metrics
 (PR metrics pending)

説明

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"

コントリビューターガイド