Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
moodle
command
Command moodle is the Moodle client for students, scripts and agents.
|
Command moodle is the Moodle client for students, scripts and agents. |
|
internal
|
|
|
api
Package api is the escape hatch: calling a web service function directly.
|
Package api is the escape hatch: calling a web service function directly. |
|
assignment
Package assignment covers reading assignments and handing work in.
|
Package assignment covers reading assignments and handing work in. |
|
auth
Package auth turns a configured account into a usable session.
|
Package auth turns a configured account into a usable session. |
|
authmethod/browsersession
Package browsersession signs in with a session a browser already holds.
|
Package browsersession signs in with a session a browser already holds. |
|
authmethod/manual
Package manual signs in by having the user complete the browser login and paste the callback URL back.
|
Package manual signs in by having the user complete the browser login and paste the callback URL back. |
|
authmethod/mobilelaunch
Package mobilelaunch signs in through the browser the user already uses.
|
Package mobilelaunch signs in through the browser the user already uses. |
|
authmethod/password
Package password signs in with a Moodle username and password.
|
Package password signs in with a Moodle username and password. |
|
authmethod/qrlogin
Package qrlogin signs in with the QR code Moodle shows in a user's profile.
|
Package qrlogin signs in with the QR code Moodle shows in a user's profile. |
|
authmethod/token
Package token signs in with a web service token the user already holds.
|
Package token signs in with a web service token the user already holds. |
|
bootstrap
Package bootstrap is the composition root: it builds every concrete dependency and wires them together.
|
Package bootstrap is the composition root: it builds every concrete dependency and wires them together. |
|
browser
Package browser reads a Moodle session out of a browser's own storage.
|
Package browser reads a Moodle session out of a browser's own storage. |
|
calendar
Package calendar is the deadline and to-do use cases.
|
Package calendar is the deadline and to-do use cases. |
|
callback
Package callback holds the state of a browser login while it is happening.
|
Package callback holds the state of a browser login while it is happening. |
|
cli
Package cli is the Cobra presentation layer: it turns arguments into use case input, and use case results into output.
|
Package cli is the Cobra presentation layer: it turns arguments into use case input, and use case results into output. |
|
config
Package config reads and writes the on-disk configuration.
|
Package config reads and writes the on-disk configuration. |
|
contract/v1
Package v1 is the only public machine-readable representation of this tool.
|
Package v1 is the only public machine-readable representation of this tool. |
|
course
Package course is the course use cases and their model.
|
Package course is the course use cases and their model. |
|
doctor
Package doctor diagnoses a site and account.
|
Package doctor diagnoses a site and account. |
|
errs
Package errs holds the error vocabulary shared by every layer: the stable error Code, the open-ended Reason, and the execution Outcome.
|
Package errs holds the error vocabulary shared by every layer: the stable error Code, the open-ended Reason, and the execution Outcome. |
|
file
Package file covers the files Moodle hands out and getting them onto disk.
|
Package file covers the files Moodle hands out and getting them onto disk. |
|
forum
Package forum reads course discussions.
|
Package forum reads course discussions. |
|
grade
Package grade is the grade use cases and their model.
|
Package grade is the grade use cases and their model. |
|
mcp
Package mcp serves the use cases to an AI agent over the Model Context Protocol.
|
Package mcp serves the use cases to an AI agent over the Model Context Protocol. |
|
moodle
Package moodle speaks Moodle's web service protocol.
|
Package moodle speaks Moodle's web service protocol. |
|
quiz
Package quiz reads quizzes and the caller's attempts at them.
|
Package quiz reads quizzes and the caller's attempts at them. |
|
safety
Package safety decides what a call may do and whether it may be repeated.
|
Package safety decides what a call may do and whether it may be repeated. |
|
secret
Package secret stores credentials in the operating system's keychain.
|
Package secret stores credentials in the operating system's keychain. |
|
site
Package site holds the core vocabulary: which Moodle we are talking to, as whom, and what that combination can actually do.
|
Package site holds the core vocabulary: which Moodle we are talking to, as whom, and what that combination can actually do. |
|
webread
Package webread reads Moodle's own pages.
|
Package webread reads Moodle's own pages. |
|
workload
Package workload calculates academic credits from institution-mapped Moodle course custom fields.
|
Package workload calculates academic credits from institution-mapped Moodle course custom fields. |
|
wsregistry
Package wsregistry owns the typed contract for Moodle core external functions across the supported Moodle releases.
|
Package wsregistry owns the typed contract for Moodle core external functions across the supported Moodle releases. |
|
tests
|
|
|
testmoodle
Package testmoodle is a programmable stand-in for a Moodle site.
|
Package testmoodle is a programmable stand-in for a Moodle site. |
Click to show internal directories.
Click to hide internal directories.