Skip to content

Settable output is overly verbose and lacks a silent mode #1627

@bambu

Description

@bambu

Updating a parameter via set currently produces a three-line confirmation. This is unnecessarily verbose and creates visual clutter, especially since the "was" and "now" values are unaligned in separate lines.

Most CLI tools (like gdb) are silent on success or use a single line. I propose:

  • Consolidating the output to a single, aligned line (e.g., variable: old -> new).
  • Adding an option to silence these notifications entirely.
  • Making it silent by default to follow standard CLI conventions.

Example of current output:

(CLI)> set display_theme light
display_theme - was: 'dark'
now: 'light' 

(CLI)> 

Example of desired output:

(CLI)> set display_theme light
(CLI)> 
(CLI)> set display_theme purple
Error setting display_theme: invalid choice: 'purple' (choose from 'light', 'dark')
(CLI)>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions