@ibm-skills-network/olx-cli
v0.1.12
Published
A command line tool for Open Learning XML
Downloads
314
Readme
olx-cli
A command line tool for modifying attributes and content of Open Learning XML (OLX)
Usage
$ npm install -g @ibm-skills-network/olx-cli
$ olx-cli COMMAND
running command...
$ olx-cli (-v|--version|version)
@ibm-skills-network/olx-cli/0.1.12 darwin-arm64 node-v19.9.0
$ olx-cli --help [COMMAND]
USAGE
$ olx-cli COMMAND
...
Commands
olx-cli help [COMMAND]
display help for olx-cli
USAGE
$ olx-cli help [COMMAND]
ARGUMENTS
COMMAND command to show help for
OPTIONS
--all see all commands in CLI
See code: @oclif/plugin-help
olx-cli list-labs COURSEARCHIVEPATH
Returns a list of all labs used in the course along with their tool types
USAGE
$ olx-cli list-labs COURSEARCHIVEPATH
ARGUMENTS
COURSEARCHIVEPATH Path to OXL course archive
EXAMPLE
$ oxl-cli list-labs archive.gz
See code: src/commands/list-labs.js
olx-cli set-course COURSEARCHIVEPATH
Set course attributes
USAGE
$ olx-cli set-course COURSEARCHIVEPATH
ARGUMENTS
COURSEARCHIVEPATH Path to OXL course archive
OPTIONS
--courseCard=courseCard path or url to course card image file. PNG, JPG.
--lti enable lti_consumer module
--ltiPassport=ltiPassport lti consumer key and secret pair, no speical character is allowed. e.g,
consumer_key:consumer_secret
--name=name course name
--out=out path to output archive
--overview=overview course overview
--policyXml=policyXml valid xml string to override course/<url_name>.xml
--shortDescription=shortDescription course short description
--startDate=startDate course start date
DESCRIPTION
Update course attributes of an existing course archive.
EXAMPLE
$ oxl-cli set-course archive.gz --name "New Course Name"
See code: src/commands/set-course.js