github / gh-classroom

GitHub Classroom CLI Extension is a powerful and easy-to-use command line tool that enhances the functionality of the GitHub CLI, specifically tailored for educators using GitHub Classroom.
MIT License
75 stars 12 forks source link

Endpoint to support add accept command #47

Open shanep opened 9 months ago

shanep commented 9 months ago

Proposed endpoint

Add the necessary get/put endpoints to support feature request #18 in the cli. This would be from the students perspective not the instructors. Currently all commands in the classroom cli return information using the instructors token.

For this to work for a student, this endpoint would need to return all the classrooms and assignments that a student can access with their own auth token.

Justification

This will be used to implement #18 and make classrooms usable without a student having to use a browser. Lots of schools provide ssh access to local clusters that don't support x11 forwarding so we need tools that are 100% cli to help foster adoption :)