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

Feature Request: Add `download-submissions` Command to GitHub Classroom CLI for Bulk Download of Student Submissions #43

Closed christosgalano closed 10 months ago

christosgalano commented 10 months ago

Is your feature request related to a problem? Please describe. I would like to highlight a specific issue: instructors often find it challenging and time-consuming to individually access and download student submissions in GitHub Classroom.

Describe the solution you'd like I would like to propose the addition of a download-submissions command to the GitHub Classroom CLI that enables instructors to efficiently retrieve and save all student submissions for a specific assignment within a classroom. This command will use GET requests, including the "List accepted assignments for an assignment" API endpoint, to retrieve student repository information. Then, it should proceed to clone or download those repositories to a specified output directory. This feature would significantly streamline the process of accessing and reviewing student work.

Describe alternatives you've considered As an alternative, instructors can manually clone each student's repository, but this process is time-consuming and prone to errors, especially when dealing with large classrooms. Automating this task through a dedicated command would greatly enhance the user experience.

Additional context This enhancement would be highly beneficial for instructors who use GitHub Classroom for managing assignments and grading. It would improve workflow efficiency and reduce the administrative overhead of accessing student submissions, ultimately leading to a more positive experience for educators using GitHub Classroom.

shanep commented 10 months ago

Hi @christosgalano,

I am not sure if I understand what you are asking. This already exists with the command gh classroom clone student-repos

Can you give more details or clarify what you are referring to?

-Shane

RyanHecht commented 10 months ago

Certainly open to hearing more information, but this does indeed sound like territory that's covered by the clone student-repos command -- we even offer a one-click copyable command on the assignment page in the Classroom web app that will download all student submissions! image