Skip to content

[UX suggestion] "Real quiet" flag #3054

@martin-eden

Description

@martin-eden

Describe the request

Hello, can we have "real quiet" flag?

I often compile my code using arduino-cli compile. It's called with --quiet flag (code).

Result I'm interested is presence of compilation errors.

In both cases arduino-cli compile also produces output with list of libraries (using markup codes for modern VT100 terminals):

Image

I don't want to see screen of my libraries every time.

Under quiet I assume produces constant number of lines.

So these lines are ok:

Sketch uses 12938 bytes (40%) of program storage space. Maximum is 32256 bytes.
Global variables use 1146 bytes (55%) of dynamic memory, leaving 902 bytes for local variables. Maximum is 2048 bytes.
Used platform Version Path
arduino:avr   1.8.6   /home/me/.arduino15/packages/arduino/hardware/avr/1.8.6

But list of libraries is variable-length and useless for me in most cases.

Perhaps we can have switch to turn it off?

P.S. Variable-length list of lines with compilation errors is OK and wished.

Describe the current behavior

Printing list of used libraries can't be turned off (or I don't know how).

Arduino CLI version

1.0.4

Operating system

Linux

Operating system version

22

Additional context

No response

Issue checklist

  • I searched for previous requests in the issue tracker
  • I verified the feature was still missing when using the nightly build
  • My request contains all necessary details

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions