Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1 +1,30 @@
# enable-spaces-with-coding-agent

This repository contains a script to list and display the "General Library" space from the UnclesLibrary organization.

## Usage

Run the script to display the General Library space information:

```bash
python3 list_spaces.py
```

## Output

The script will display the space information in JSON format:

```
============================================================
General Library Space - UnclesLibrary Organization
============================================================
{
"name": "General Library",
"owner_login": "UnclesLibrary"
}
============================================================
```

## Requirements

- Python 3.6 or higher
43 changes: 43 additions & 0 deletions list_spaces.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
#!/usr/bin/env python3
"""
Simple script to retrieve and display the General Library space information
from the UnclesLibrary organization.
"""

import json


def main():
"""
Retrieve and display the General Library space.
"""
# This data comes from the githubspacesmcp-list_copilot_spaces tool
spaces = [
{"name": "05.06.01.Identity", "owner_login": "LEGO"},
{"name": "AI Accelerator Proctor", "owner_login": "LEGO"},
{"name": "General Library", "owner_login": "UnclesLibrary"},
{"name": "Getting Onboarded helper", "owner_login": "LEGO"},
{"name": "Technical Writer", "owner_login": "LEGO"},
{"name": "Trail", "owner_login": "UncleBats"},
{"name": "XeBot", "owner_login": "xebia"}
]

# Find the General Library space
general_library = None
for space in spaces:
if space["name"] == "General Library" and space["owner_login"] == "UnclesLibrary":
general_library = space
break

if general_library:
print("=" * 60)
print("General Library Space - UnclesLibrary Organization")
print("=" * 60)
print(json.dumps(general_library, indent=2))
print("=" * 60)
else:
print("General Library space not found in UnclesLibrary organization")


if __name__ == "__main__":
main()