Package: coursebin
List of built-in binaries:1. `newsemester <semester-number>`
2. `newcourse "[<course-name>]"`
3. `removecourse`
4. `newnotes`
5. `classcompile`
6. `coursecomplete`
7. `semestercomplete`
8. `printgrades`The first time you run a command aftercoursemanagerinstallation,
you will be prompted to setup your college directory (where all notes,
course directories, and grade files will be stored).newsemester<semester-number>Creates the directory ‘Semester ‘ within your college directory.Prompts for courses being taken in the new semester. Creates a course
directory for each course with a ‘Notes’ subdirectory in each course
directory.newcourse"[<course-name>]"Creates a new course with name []. Defaults to the latest semester
(highest semester number).To change the default semester directory, run the following code in
python: from course_manager import config_path print config_pathNavigate to the JSON file printed out and change the defalt_directory
variable to match what you want the current semester to be.removecourseRemoves a given course without recording a grade. Gives the option to
completely remove the course directory or to archive it to a ZIP
file.Options for courses to remove are based on the default semester (see
(2.) for more).newnotesAdds new notes to a given course. If cwd is within a given course
directory, the notes will be created for that course. Otherwise,
options for courses are based on the default semester (see (2.) for
more).By default,newnoteswill create a new .tex file named the
current date. The .tex file will contain the necessary components to
be recognized as a`subfile<https://www.sharelatex.com/learn/Multi-file_LaTeX_projects>`__
of the main.tex file that is initially created within the course
directory.A line linking to the new notes file is added to themain.texfile.classcompile[config]Compiles themain.texfile for a given course. If cwd is within a
given course directory, the notes will be created for that course.
Otherwise, options for courses are based on the default semester (see
(2.) for more).Ifconfigis used within the command, all LaTeX extra files
(main.log,main.toc,main.out, andmain.auxare NOT
deleted after compilation.)This command compiles the LaTeX twice (LaTeX compilation is a
two-pass process, originally to preserve memory. Running only once
will not always catch figure and citation references).coursecompleteArchives a given course. Options for courses to remove are based on
the default semester (see (2.) for more).Prompts for the grade in that course and how many credits the course
was worth. Updates thegrades.tsvfile with the new grade.Currently, GPA calculations are based on Brown University grading
standards. These settings can be edited in theconfig.jsonfile
(instructions on how to edit this file are under (2.).semestercompleteArchives the default semester (see (2.) for more about the default
semester). Gives the option to keep or remove the default semester
directory in addition to archiving it.Runscoursecompleteon all courses for which grades have not yet
been inputted.Updatesgrades.tsv.printgradesPrints a formatted versions ofgrades.tsvto the terminal. (Uses
the python`tabulate<https://bitbucket.org/astanin/python-tabulate#rst-header-table-format>`__
package. You can edit the format of the output by runningwhich printgradesand editing the type of table printed. The
options can be found with the`tabulate<https://bitbucket.org/astanin/python-tabulate#rst-header-table-format>`__
documentation.).