Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gh-cli-for-education/gh-org-teams
Get info about the teams of a GitHub classroom organization
https://github.com/gh-cli-for-education/gh-org-teams
gh-extension github-education ull
Last synced: 3 months ago
JSON representation
Get info about the teams of a GitHub classroom organization
- Host: GitHub
- URL: https://github.com/gh-cli-for-education/gh-org-teams
- Owner: gh-cli-for-education
- Created: 2022-01-04T15:34:04.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2023-02-02T12:47:17.000Z (almost 2 years ago)
- Last Synced: 2024-05-28T02:19:45.578Z (6 months ago)
- Topics: gh-extension, github-education, ull
- Language: Shell
- Homepage:
- Size: 6.84 KB
- Stars: 3
- Watchers: 1
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-gh-cli-extensions - **org-teams** - Get info about the teams of a GitHub classroom organization (GitHub Education)
README
# gh extension org-teams
To install the extension, run:
```bash
gh extension install gh-cli-for-education/gh-org-teams
```## Usage
```
gh org-teams --help
Usage:
gh org-teams [-o|--ORG ] [-n|--NAME] [-u|--URL]By default the ORG is obtained using the command gh pwd.
For a better experience set these alias:
set alias pwd to: !gh config get current-org
set alias cd to: !gh config set current-org 2>/dev/null
```## Examples
```bash
✗ gh cd ULL-MII-SYTWS-2223
✗ gh pwd
ULL-MII-SYTWS-2223
✗ gh org-teams | jless
``````
✗ gh org-teams -nu
[
{
"name": "ale_hernandez_liberon-alu0101225562",
"url": "https://github.com/orgs/ULL-MII-SYTWS-2223/teams/ale_hernandez_liberon-alu0101225562"
},
{
"name": "casiano-rodriguez-leon-alumnoudv4",
"url": "https://github.com/orgs/ULL-MII-SYTWS-2223/teams/casiano-rodriguez-leon-alumnoudv4"
},
{
"name": "casiano-rodriguez-leon-crguezl",
"url": "https://github.com/orgs/ULL-MII-SYTWS-2223/teams/casiano-rodriguez-leon-crguezl"
},
{
"name": "claudio_nestor-yanes-mesa-alu0101229942",
"url": "https://github.com/orgs/ULL-MII-SYTWS-2223/teams/claudio_nestor-yanes-mesa-alu0101229942"
},
{
"name": "jordi-bas-balcells-alu100965315",
"url": "https://github.com/orgs/ULL-MII-SYTWS-2223/teams/jordi-bas-balcells-alu100965315"
},
{
"name": "parallel-computing-group-parallel",
"url": "https://github.com/orgs/ULL-MII-SYTWS-2223/teams/parallel-computing-group-parallel"
},
{
"name": "santiago-villar-vazquez-alu0100990522",
"url": "https://github.com/orgs/ULL-MII-SYTWS-2223/teams/santiago-villar-vazquez-alu0100990522"
}
]
✗ gh org-teams -u
[
"https://github.com/orgs/ULL-MII-SYTWS-2223/teams/ale_hernandez_liberon-alu0101225562",
"https://github.com/orgs/ULL-MII-SYTWS-2223/teams/casiano-rodriguez-leon-alumnoudv4",
"https://github.com/orgs/ULL-MII-SYTWS-2223/teams/casiano-rodriguez-leon-crguezl",
"https://github.com/orgs/ULL-MII-SYTWS-2223/teams/claudio_nestor-yanes-mesa-alu0101229942",
"https://github.com/orgs/ULL-MII-SYTWS-2223/teams/jordi-bas-balcells-alu100965315",
"https://github.com/orgs/ULL-MII-SYTWS-2223/teams/parallel-computing-group-parallel",
"https://github.com/orgs/ULL-MII-SYTWS-2223/teams/santiago-villar-vazquez-alu0100990522"
]
✗ gh org-teams -n
[
"ale_hernandez_liberon-alu0101225562",
"casiano-rodriguez-leon-alumnoudv4",
"casiano-rodriguez-leon-crguezl",
"claudio_nestor-yanes-mesa-alu0101229942",
"jordi-bas-balcells-alu100965315",
"parallel-computing-group-parallel",
"santiago-villar-vazquez-alu0100990522"
]
```