Skip to content

Commands

All 31 commands, grouped by what they touch. Every page lists the arguments, the options, an example, the output, and the exact shape of the JSON that comes back.

Read the manifest instead of this page

scele schema prints the same information as machine-readable JSON, generated by introspecting the CLI. If you are scripting, parse that.

Account

Command What it does
login Log in with your SCELE username and password and store a web-service token.
whoami Report whether the stored token is valid and who it belongs to.
logout Delete the stored web-service token.

Courses

Command What it does
courses List the courses on your dashboard.
course Show a course outline (sections and activities).
course-detail Show course metadata: category, dates, teachers, summary.
people List the people enrolled in a course.
grades Show your grade items for a course.
course-updates Show what changed in a course recently.

Planning

Command What it does
deadlines List upcoming deadlines across all your courses.
calendar List calendar events (classes, custom events, deadlines).
notifications Show your recent SCELE notifications.

Catalog

Command What it does
categories Browse the course category tree.
category List courses inside a category.
enrol Self-enrol into a course. write

Forums

Command What it does
forums List the forums in a course.
forum List discussions in a forum.
thread Show the posts in a discussion thread.
post Start a new discussion in a forum. write
reply Reply to a forum post. write
subscribe Subscribe to (or, with --off, unsubscribe from) a forum. write

Assignments

Command What it does
assignments List assignments in a course.
assignment Show an assignment's submission status.
assignment-detail Show an assignment's instructions, due dates and brief attachments (id or cmid).
submit Submit online text or a file to an assignment (id or cmid). write

Files

Command What it does
resources List downloadable file/folder resources in a course.
download Download a resource cmid or a pluginfile URL.

Announcements

Command What it does
announcements Show front-page / dashboard announcements.

Tools

Command What it does
schema Print a machine-readable manifest of all commands and I/O shapes.
tui Launch the interactive TUI.
watch Re-run a command on an interval and report exact line-level output changes.

Global flags

Flag Effect
-c, --compact Single-line JSON. Goes before the subcommand.
-f, --format auto (default), json, yaml, or table.
--version Print the version and exit.
--help Print help for the CLI or any subcommand.

Every command prints exactly one JSON document to stdout (a table on a terminal, or plain JSON when piped), and on failure prints {"ok": false, "error": <code>, "message": ...} to stderr and exits 1.