Project

marmoset

0.01
No commit activity in last 3 years
No release in over 3 years
A utility using highline, mechanize and choice to submit to UW Marmoset from the command line
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

>= 0.1.4
>= 1.6.1
>= 1.0.0
 Project Readme

MarmosetSubmit

This is a command-line tool for submitting assignments to the Marmoset submission server at Waterloo. It's similar to marmoset_submit on the student.cs servers, but you can run it anywhere.

Installation

Installation is done through RubyGems: gem install marmoset. Depending on how you have things setup, you may need to run that with sudo.

Usage

MarmosetSubmit installs a marmoset executable on your system. The typical usage of it is best illustrated with an example.

Let's say you want to submit a file in the current directory named wlppgen.ss as your submission to part 4 of assignment 11 in CS 241 (which has the 'project name' of "A11P4" on Marmoset). You'd run:

marmoset -u YourQuestUsername -c cs241 -a a11p4 -f wlppgen.ss

You'll then be prompted for your Quest password, every time you run a marmoset command like this. If you'd like to skip the password prompt, you can include your password in the command like so:

marmoset -u YourQuestUsername -p YourQuestPassword -c cs241 -a a11p4 -f wlppgen.ss

Here are all of the options, in more detail:

  • -u or --username: your Quest username (e.g. jlfwong).
  • -p or --password: your Quest password. If not specified, you'll be prompted for it.
  • -c or --course-code: the course ID. Typically, this is something like CS241.
  • -a or --assignment-problem: the assignment problem name, or 'project' as Marmoset describes it (e.g. A11P4).
  • -f or --infile: the file you want to submit (e.g. wlppgen.ss).
  • -h or --help: display this usage information.
  • -v or --version: display the version of MarmosetSubmit you're using.

For additional usage information, you can run marmoset -h.