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
83 stars 14 forks source link

Feature request: add `accept` command #18

Open zrdaley opened 1 year ago

zrdaley commented 1 year ago

Allow students to accept GitHub Classroom assignments via the CLI as well, as via

gh classroom accept ORG/REPO

wherein ORG is a teacher's org (for GitHub Classroom) and REPO is a template repo therein.

Alternatively, per @octosteve, a student could be prompted interactively to select an assignment to accept.

shanep commented 1 year ago

Hi @zrdaley this feature would really help with faculty adopting classrooms and I would love to implement it. From what I can tell this would need some endpoints exposed on the backend as everything now is just read only. Is there any further documentation that you can share :)

If backend modifications are necessary I would be happy to implement them as well. Thanks for all the hard work!

-Shane

zrdaley commented 1 year ago

@shanep thank you for bumping this!

Could you open an API Endpoint request issue? Unfortunately the api is not open source so it will have to be something that our team works on internally. However, once the endpoint is available we would be thrilled for you to help create the actual command in the cli!

cc @RyanHecht for product input and prioritization of this issue.

shanep commented 1 year ago

@zrdaley DONE :)