Skip to content

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

@dido18

Description

@dido18

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"

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggood first issueGood for newcomers

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions