@ibm-skills-network/olx-cli

A command line tool for Open Learning XML

Usage no npm install needed!

<script type="module">
  import ibmSkillsNetworkOlxCli from 'https://cdn.skypack.dev/@ibm-skills-network/olx-cli';
</script>

README

olx-cli

A command line tool for Open Learning XML

oclif Version Downloads/week License

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.0-alpha.9 darwin-x64 node-v14.17.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 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

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