Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Grader 2

TODO

  • get enrolled acronyms for section

Setup

Create a file .env.local and add your token and the id of the Canvas course to it. Copy the .env file:

$ cp .env .env.local
BASE_URL="https://bth.instructure.com"
COURSE_ID=<id>
CANVAS_TOKEN="<token>"

Usage

Install npm packages, it's a JavaScript project so of course we need packages.

$ npm install

Start the grader and see its menu.

$ node main.js help
Usage: main.js <command> <option>

CLI to followup grading in courses

Options:
  -V, --version                                                output the version number
  -h, --help                                                   display help for command

Commands:
  fetch [options]                                              Fetches new data from Canvas
  magic [options]                                              Prints the magic table
  json                                                         Prints the raw JSON object
  count <string>                                               Counts the gradings and prints date for grader
  stat [options] <(section) <string>> <(assignment) <string>>  Counts submissions for <section> <kmom>
  help [command]                                               display help for command

Development

Run the linter and the fixer.

npm run eslint
npm run eslint:fix

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages