python icon indicating copy to clipboard operation
python copied to clipboard

`--get` hides fields with default values

Open jedahan opened this issue 10 months ago • 1 comments

I'd like to start a discussion on having --get show all values by default, not just changed ones. It will help with discovery and debugging. For example, --get bluetooth will not even give a hint that there is a --get bluetooth.mode if you are on the default mode. This is surprising to me.

Thought of a few improvements around this

  1. Mentioning that --get and --get blah doesn't show all the properties (likely a human-readable message to stderr)
  2. Default to showing all properties
  3. Allow passing in --show-changed or --filter-default if people like the current behavior

If we can agree on what work there is to be done, I'm happy to try making the pull requests.

jedahan avatar Feb 16 '25 18:02 jedahan

This would involve importing the index of all available commands from the latest firmware.

fastalan avatar Mar 23 '25 03:03 fastalan