cad-section(1)

Michael Slinn (mslinn@micronauticsresearch.com)

10 May 2019

NAME

cad section - Cadenza Client™ curriculum management command provides section-level authoring support.

SYNOPSIS

General Form

cad [OPTION]… section [ACTION_OPTIONS]… id [ACTION]

Action Variations

See the curriculum management commands.

DESCRIPTION

cad section is a set of Cadenza Client curriculum management commands for authoring section-level content. This command performs section-level operations, including fetching a section’s lectures. The cad section command maintains parallel subdirectory trees within $cadenzaCurriculum and $cadenzaCreative. Directory paths are computed for each tree corresponding to the section’s group name and the course SKU; for example $cadenzaCurriculum/ScalaCourses.com/group_ScalaCore/course_scalaIntro/section_scalaRunning.

A section id is required.

Cadenza does not support section-level curriculum content, so the cad section command does not support fetch without recursion. cad section also does not support actions pertaining to Adobe Creative Suite.

ACTION_OPTIONS

See man cad-curriculum for ACTION_OPTIONS common to all curriculum management commands.

ACTIONS

In addition to the subcommand actions common to all curriculum management commands, cad section supports the following:

Nothing

EXAMPLES

cad section -r 13 fetch
(Re)download all of the content for section #13’s lectures from the active database and the active S3 buckets. Recurses by fetching all of the lectures for the given section. If there are uncommitted changes to a lecture’s git repo, the user is asked if the changes should be committed before fetching. Git repos are created if they do not already exist. For the ScalaCouses site, this command fetches everything associated with section #13 (scalaRunning) into the $cadenzaCurriculum/ScalaCourses.com/group_ScalaCore/course_scalaIntro/scalaRunning directory; creates the directory structure for the section and its assets from the database and S3 buckets, and creates new git repos for the sections’ lectures.
cad section -D 13 fetch
Build $cadenzaCurriculum directory tree for section #13, but don’t retrieve lectures or create git repos.
pushd `cad section 108 dir`
Make the directory containing section #108 current. The cad section 1 dir command returns section #108’s directory within $cadenzaCurriculum.

SAMPLE lecture.json

```json

SEE ALSO

cad site(1), cad group(1), cad course(1), cad section(1), cad lectureProps(1) and cad(1)