TMC-Client
TMC-Client is a command line interface for operating with the TMC-server. This client can be used to submit, download, and update exercises.
Installation
You may install tmc-client using rubygems gem install tmc-client
Commands
-
tmc list, short fortmc list courses, lists all available courses for the configured TMC-server -
tmc init <coursename>will initialize a folder for your course to your working directory -
tmc list exerciseslists 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 directory -
tmc download allwill download all exercises to the working course directory -
tmc submitortmc 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--silentor-sor--quietor-q. -
tmc statusortmc status <path-of-the-exercise>will inquire the server about the status of the exercise, and display a short result summary. -
tmc updateortmc 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 solutionortmc 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 authcan be used to manually trigger authentication -
tmc get urldisplays the server url in use -
tmc set url <url>configures a new server url for TMC-Client, which is persisted for later use.
Configuration
All configuration is done via commandline interface. If no server url is given it's asked on startup.