Skip to content

v0.9.0

Choose a tag to compare

@github-actions github-actions released this 20 Sep 04:05
· 326 commits to main since this release
v0.9.0
d07a936

Moodle CLI 0.9.0

moodle submit UNIT "TASK" report.pdf uploads files into an assignment. The command
shows a plan first: what is uploaded, in bold, and where it lands, in cyan, on
separate lines, then asks before anything is sent. Uploads run under a spinner
that names each file as it goes, and the receipt reports what Moodle recorded.
Local MCP servers expose the same action as their only write tool.

Working at a terminal

Bare moodle, edstem and ontrack now open the same styled help: a wordmark,
the description, commands grouped the way gh groups them (core, additional,
agent), cyan flags, and a short "Try" list. Every subcommand page follows the
same shape.

A missing unit, task or file becomes a picker or a prompt instead of a usage
error. An ambiguous match is chosen from a list. On the first run with no
session, the CLI walks through the site address and browser sign-in once and
remembers it. All of this only happens at a terminal: a pipe, --json or an
agent's shell still gets the plain error with the usage line in its hint.

Tables paint the first column as the key and tone status-like words (overdue,
submitted, graded, announcement) so a row can be scanned by colour.
--no-color and NO_COLOR turn every escape code off; files and pipes never
carry them.

Other changes

Per-command output flags are hidden from help pages; the root names them once.
Commands carry short summaries in listings, and find documents its arguments.