Context
The dash0 -X members list command currently displays name, email, ID, and URL columns.
Users would like to see each member's role (admin, basic_member, etc.) in the output.
Blocked by
The members list API (GET /api/members) does not currently return the role in MemberDefinition.
See: dash0hq/dash0-api-client-go#5
Implementation
Once the API returns the role:
- Extract the role from
MemberDefinition in MemberValues() (internal/members/list.go).
- Add a
role column to MemberListDefaultColumns.
- Add
HEADER_ROLE constant to internal/constants.go.
- Update integration test fixtures and CSV header assertions.
- Update
docs/commands.md with the new column in example output and column aliases.
Context
The
dash0 -X members listcommand currently displays name, email, ID, and URL columns.Users would like to see each member's role (
admin,basic_member, etc.) in the output.Blocked by
The members list API (
GET /api/members) does not currently return the role inMemberDefinition.See: dash0hq/dash0-api-client-go#5
Implementation
Once the API returns the role:
MemberDefinitioninMemberValues()(internal/members/list.go).rolecolumn toMemberListDefaultColumns.HEADER_ROLEconstant tointernal/constants.go.docs/commands.mdwith the new column in example output and column aliases.