Bug 55147 - UDM CLI list should provide option to filter out unset properties
UDM CLI list should provide option to filter out unset properties
Status: NEW
Product: UCS
Classification: Unclassified
Component: UDM - CLI
UCS 5.0
Other Linux
: P5 normal (vote)
: ---
Assigned To: UMC maintainers
UMC maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2022-08-30 09:24 CEST by Florian Best
Modified: 2022-08-30 09:27 CEST (History)
1 user (show)

See Also:
What kind of report is it?: Feature Request
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional): bitesize
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Florian Best univentionstaff 2022-08-30 09:24:03 CEST
we should provide a `udm "$modules" list --brief` which filters out all those unset `: None` properties.

# udm users/user list | grep -vF ': None' | wc -l
101
# udm users/user list | wc -l
270

using grep is potentially error prone and destroys the return code of the command execution.