cad-site(1)

Michael Slinn (mslinn@micronauticsresearch.com)

10 May 2019

NAME

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

SYNOPSIS

Type man cad-curriculum for details of the common options and actions for the Cadenza Client curriculum management commands.

General Form

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

Action Variations

In addition to the subcommand variations common to all curriculum management commands, cad site supports the following:

cad [OPTION]… site id makeXRef

DESCRIPTION

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

ACTION_OPTIONS

In addition to the ACTION_OPTIONS common to all curriculum management commands, cad site supports the following:

-a
Process all.

POSITIONAL PARAMETER

The cad site command requires one positional parameter, which must be expressed as either a switch or a integer.

-a
Specify that all sites are to be fetched.
ID
Specify that the site with the specified integer ID is to be fetched.

EXAMPLES

cad site 1 fetch
(Re)download the content for site #1’s top-level web page from the active database and the active S3 buckets. If uncommitted changes to site’s git repo, ask user if the changes should be committed before fetching. If no git repo, makes one.
cad site -r 1 fetch
Like the previous example, plus also recurse by fetching the site’s web pages for groups, courses, sections & their lectures.
pushd `cad site 1 dir`
Make the directory containing site #1 current. The cad site 1 dir command returns site #1’s directory within $cadenzaCurriculum.
cad site 1 dw
Launch DreamWeaver on the top-level content for site #1 (ScalaCourses.com)
cad site 1 audioFromTitles
Build a new Adobe Audition audio project from site #1 transcript titles
cad site 1 deleteRepo
Wipe out any existing GitHub project for site #1 and make a new one, check in current stuff. Use regular git commands as content is authored.
cad site 1 deleteRepo -r
Wipe out any existing GitHub repository for site #1 and recurse through groups and courses, deleting those GitHub repos. Prompts user to delete GitHub repository if it exists.
cad site 1 deleteRepo -rf
Silently wipe out all existing local and GitHub repositories for site #1, including its groups and courses.
cad site 1 newRepo
Wipe out any existing GitHub project for site #1 and make a new one, check in current stuff. Use regular git commands as content is authored.
cad site 1 newCreative template_2017.prproj
Create a Premiere Pro project with Adobe Audition audio files set up for the promo video for the site with id 1, using the template_2017.prproj template.

SEE ALSO

cad siteProps(1), cad group(1), cad course(1), cad section(1), cad lecture(1) and cad(1)