Formatters/GitHubTeams.Format.ps1xml

<?xml version="1.0" encoding="utf-8" ?>
<Configuration>
  <ViewDefinitions>
    <!--================== GitHub.TeamSummary Type View =================-->
    <View>
      <Name>GitHub.TeamSummary</Name>
      <ViewSelectedBy>
        <TypeName>GitHub.TeamSummary</TypeName>
      </ViewSelectedBy>
      <TableControl>
        <TableHeaders>
          <TableColumnHeader>
            <Label>name</Label>
          </TableColumnHeader>
          <TableColumnHeader>
            <Label>description</Label>
          </TableColumnHeader>
          <TableColumnHeader>
            <Label>privacy</Label>
          </TableColumnHeader>
          <TableColumnHeader>
            <Label>permission</Label>
          </TableColumnHeader>
          <TableColumnHeader>
            <Label>OrganizationName</Label>
          </TableColumnHeader>
        </TableHeaders>
        <TableRowEntries>
          <TableRowEntry>
            <TableColumnItems>
              <TableColumnItem>
                <PropertyName>name</PropertyName>
              </TableColumnItem>
              <TableColumnItem>
                <PropertyName>description</PropertyName>
              </TableColumnItem>
              <TableColumnItem>
                <PropertyName>privacy</PropertyName>
              </TableColumnItem>
              <TableColumnItem>
                <PropertyName>permission</PropertyName>
              </TableColumnItem>
              <TableColumnItem>
                <PropertyName>OrganizationName</PropertyName>
              </TableColumnItem>
            </TableColumnItems>
          </TableRowEntry>
        </TableRowEntries>
      </TableControl>
    </View>
    <!--================== GitHub.Team Type View =================-->
    <View>
      <Name>GitHub.Team</Name>
      <ViewSelectedBy>
        <TypeName>GitHub.Team</TypeName>
      </ViewSelectedBy>
      <ListControl>
        <ListEntries>
          <ListEntry>
            <ListItems>
              <ListItem>
                <PropertyName>name</PropertyName>
              </ListItem>
              <ListItem>
                <PropertyName>description</PropertyName>
              </ListItem>
              <ListItem>
                <PropertyName>privacy</PropertyName>
              </ListItem>
              <ListItem>
                <PropertyName>permission</PropertyName>
              </ListItem>
              <ListItem>
                <PropertyName>created_at</PropertyName>
              </ListItem>
              <ListItem>
                <PropertyName>created_at</PropertyName>
              </ListItem>
              <ListItem>
                <PropertyName>members_count</PropertyName>
              </ListItem>
              <ListItem>
                <PropertyName>repos_count</PropertyName>
              </ListItem>
              <ListItem>
                <Label>parent.name</Label>
                <ScriptBlock>$_.parent.name</ScriptBlock>
              </ListItem>
              <ListItem>
                <PropertyName>OrganizationName</PropertyName>
              </ListItem>
            </ListItems>
          </ListEntry>
        </ListEntries>
      </ListControl>
    </View>
  </ViewDefinitions>
</Configuration>