Skip to content

KC-1372: Return separate name and ID fields in enterprise-info --users --verbose - #2257

Open
sshrushanth-ks wants to merge 1 commit into
KC-1372-enhancementfrom
KC-1372-enhancement-int
Open

KC-1372: Return separate name and ID fields in enterprise-info --users --verbose#2257
sshrushanth-ks wants to merge 1 commit into
KC-1372-enhancementfrom
KC-1372-enhancement-int

Conversation

@sshrushanth-ks

Copy link
Copy Markdown
Contributor

Summary

enterprise-info --users --verbose now returns IDs for node, teams, and roles, but as separate id/name fields rather than names only or combined strings. Without --verbose, output stays name-based. Verbose shape matches the records object style (*_id / *_name or team_uid / team_name).

Changes

  • enterprise.py — with --verbose, node / teams / roles return objects with separate id and name fields; without --verbose, names only
  • test_command_enterprise.py — added test covering name-only vs verbose object output for those columns

@sshrushanth-ks sshrushanth-ks self-assigned this Aug 3, 2026
@sshrushanth-ks
sshrushanth-ks marked this pull request as ready for review August 3, 2026 10:13
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

Successfully merging this pull request may close these issues.

2 participants