Skip to content

TMCee/tmc-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

89 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TMC-Client

Build Status Code Climate

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 for tmc 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 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 directory
  • tmc download all will download all exercises to the working course directory
  • tmc submit or tmc 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 or tmc status <path-of-the-exercise> will inquire the server about the status of the exercise, and display a short result summary.
  • tmc update or tmc 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 or tmc 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 authentication
  • tmc get url displays 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.

About

DEPRECATED: ruby command-line client for TMC-server

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published