clt upmod
¶
Summary¶
Upload a module to Canvas.
Usage¶
$ clt upmod <directory>
Options¶
Flag |
Usage |
---|---|
|
Increase verbosity to print information |
|
Print API calls generated by CLT without sending requests |
Examples¶
$ clt upmod Week-01
$ clt -v upmod Week-01
$ clt -verbose upmod Week-01
$ clt -vv upmod Week-01
$ clt --test-run upmod Week-01
Details¶
CLT loads the module settings and course materials in the directory and converts any Markdown-formatted to content to HTML. CLT then sends API requests to Canvas that:
create a new module with the title specified in the module settings,
create Canvas objects corresponding to the course materials in the directories, and
move each of those objects to the new module.