course-management-tools
course-management-tools copied to clipboard
[WIP] Global Configuration and current-course
The aim of this PR is to add just enough functionality to remove the need to pass a repository url with everything cmtc command.
- Add support for a
CMT_HOMEdirectory (by default~/.cmt - Add a default global cmt configuration file
- Add a new
configurecommand tocmtctool for creating the above on a local machine - Add a check before executing each
cmtccommand to ensure configuration has taken place and that acurrent-courseis set in the configuration file - Add a new
set-current-coursecommand toctmcto allow a user to pointcmtcat a course on their local filesystem.