Skip to content

Course Commands

Course commands let you see which courses are available, select one as active, and inspect its data.

Lists all courses with their ID, display name, and last-updated timestamp. The active course is marked with *.

Terminal window
redu course list
* seed-course Seed Course 2026-03-04T10:00:00Z
demo-course Demo Course 2026-02-15T08:30:00Z

Prints the active course ID. Useful in scripts to check which course subsequent commands will operate on.

Terminal window
redu course active
seed-course

Outputs the full active course document as JSON. Use this to inspect roster data, group sets, assignments, and configuration without opening the desktop app.

Terminal window
redu course show
redu course show --course demo-course

Pipe the output to jq for filtering:

Terminal window
redu course show | jq '.roster.students | length'

Sets the active course. All subsequent commands that require a course (validation, repository operations, connection checks) will use this course unless overridden with --course.

Terminal window
redu course load seed-course