TMC-Client is a command line interface for operating with the TMC-server. This client can be used to submit, download, and update exercises.
You may install tmc-client using rubygems gem install tmc-client
tmc list
, short fortmc list courses
, lists all available courses for the configured TMC-servertmc init <coursename>
will initialize a folder for your course to your working directorytmc list exercises
lists all available exercises for the current working course (working dir)tmc download <exercisename>
will download all files of the specified exercise to the current course directorytmc download all
will download all exercises to the working course directorytmc submit
ortmc submit <path-of-the-exercise>
will submit the specified exercise or the current working exercise to the server, and the client will wait for a response from the server. If you do not wish to wait for the response, provide the additional argument--silent
or-s
or--quiet
or-q
.tmc status
ortmc status <path-of-the-exercise>
will inquire the server about the status of the exercise, and display a short result summary.tmc update
ortmc update <path-of-the-exercise>
will download updates to the specified or working exercise. This will not replace any source files without asking the user first.tmc solution
ortmc solution <path-of-the-exercise>
will download model solutions to the specified or working exercise if they are available. Again, the user will be asked for permission per file before replacement.tmc auth
can be used to manually trigger authenticationtmc get url
displays the server url in usetmc set url <url>
configures a new server url for TMC-Client, which is persisted for later use.
All configuration is done via commandline interface. If no server url is given it's asked on startup.