tmc.py docs GitHub Tutorial

Commands

configure conf init

  • --auto or -a

    Skip asking for the download path.

  • --id ID or -i ID

    Course ID to be used.

  • --password PASSWORD or -p PASSWORD

    Password to be used.

  • --server URI or -s URI

    Server to be used.

  • --username USERNAME or -u USERNAME

    Username to be used.

Set the server, user credentials and selected course.

current cur

Prints information about the currently selected exercise.

download dl

  • --all or -a

    Download all exercises instead of just the remaining ones.

  • --force or -f

    Download ontop of older exercises, removing progress.

  • --id ID or -i ID

    Download a spesific ID.

  • --update or -u

    Updates the exercises tests, doesn't affect progress.

  • --upgradejava or -j

    If the exercise is for Java 1.6, the target will be updated to 1.7.

Download the remaining exercises.

listall ls

Lists all exercises in the currently selected course.

next skip

Go to the next exercise.

paste pa

  • --id ID or -i ID

    Submit a spesific ID.

  • --review or -r

    Request a review on the exercise.

Sends the current exercise to the TMC pastebin.

previous prev

Go to the previous exercise.

reset

Reset the clientside database. This will remove all configuration but won't touch the actual files.

run COMMAND

Executes COMMAND exercise-path. For example tmc run gvim would run gvim /home/x/tmc/k2014-algomooc/viikko1/01.1.Kertoma which would open gvim in that folder.

select sel

  • --course or -c

    Select a course instead.

  • --id ID or -i ID

    Select a spesific ID instead of using a curses menu.

Select a exercise.

submit su

  • --id ID or -i ID

    Submit a spesific ID.

  • --paste or -p

    Submit the exercise to TMC pastebin.

  • --review or -r

    Request a review on the exercise.

Submit the current exercise.

test te

  • --id ID or -i ID

    Test a spesific ID.

Test the current exercise.

update up

  • --course or -c

    Update course metadata instead.

Update the exercise data of the selected course.

version

Prints the tmc.py version.