v0.2.0
Highlights
scele now talks to SCELE through the official Moodle mobile web-service API instead of scraping HTML — stable JSON, no more breakage when SCELE's theme changes.
Breaking
scele loginmints a web-service token from/login/token.phpand stores only the token (~/.config/scele/token.json) — the cookie store is gone. Runscele loginagain after upgrading.whoamireports{user, userid, username, token}instead of{sesskey}.forums/assignments/resourcesreturn richer objects;forumaccepts a cmid or a forum instance id.- Requires an account that authenticates with a password (manual / LDAP). Accounts behind an external SSO login page cannot mint a token.
beautifulsoup4/lxmldependencies dropped.
New commands
course-detail, people, grades, course-updates, deadlines, calendar, notifications, assignment-detail, submit (online text / file), quizzes, quiz, quiz-review, and guarded attempt-taking: quiz-start, quiz-attempt, quiz-answer.
TUI
scele tui gains screens for deadlines, calendar, notifications, grades, people, course info, assignment instructions + submit, and the full quiz flow.
Packaging
The prebuilt bundle is now onedir (a .tar.gz), not a single onefile binary — startup dropped from ~4 s to ~0.1 s per call. install-bin.sh unpacks it to ~/.local/lib/scele-app and links scele onto your PATH.
Install
macOS (Apple Silicon) — prebuilt bundle (CI was unavailable at release time, so only this target is attached):
curl -fsSL https://raw.githubusercontent.com/Andrew4Coding/scele-cli/main/install-bin.sh | sh
Everything else — pipx (any OS, Python 3.10+):
pipx install git+https://github.com/Andrew4Coding/scele-cli.git@v0.2.0
or the attached wheel:
pipx install ./scele_cli-0.2.0-py3-none-any.whl