Currently when you execute teams team list, it just shows only limited properties even if you return the output in JSON. Following are the outputs returned as per the code
- ID
- displayName
- isArchived
- description
Refer the code here,
|
request |
|
.get(requestOptions) |
|
.then((res: any): void => { |
|
resolve({ |
|
id: group.id as string, |
|
displayName: group.displayName as string, |
|
isArchived: res.isArchived, |
|
description: group.description as string |
|
}); |
What I am proposing is to
- Return all the properties returned (Currently the API return teams property).
- Add the currently showing properties to the default properties.
Currently when you execute
teams team list, it just shows only limited properties even if you return the output in JSON. Following are the outputs returned as per the codeRefer the code here,
cli-microsoft365/src/m365/teams/commands/team/team-list.ts
Lines 88 to 96 in edaa477
What I am proposing is to