open_unit_json: Open the lesson.json for a Unit

open_unit_jsonR Documentation

Open the lesson.json for a Unit

Description

Will find the compiled json and open in it in the system editor.

Usage

open_unit_json(WD = "?")

Arguments

WD

working directory; default=getwd(); if "?" supplied, will invoke pick_lesson(). The basename of this working directory will then be used to find a match in the gp-lessons git project folder by calling get_wd_git(). It's a little roundabout, but is consistent with lookups centering on the Google Drive project working directory.


galacticpolymath/GPpub documentation built on April 5, 2025, 6:04 p.m.