Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

--get hides fields with default values #737

Open
jedahan opened this issue Feb 16, 2025 · 0 comments
Open

--get hides fields with default values #737

jedahan opened this issue Feb 16, 2025 · 0 comments

Comments

@jedahan
Copy link

jedahan commented Feb 16, 2025

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant