Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including katacoda-cli with all npm packages installed. Try it out:

var katacodaCli = require("katacoda-cli")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

katacoda-cli v0.0.17

Create and manage Katacoda content from the command-line

Katacoda CLI

Create and manage Katacoda content from the command-line

oclif ![Version](https://img.shields.io/npm/v/katacoda content creator.svg) ![Downloads/week](https://img.shields.io/npm/dw/katacoda content creator.svg) ![License](https://img.shields.io/npm/l/katacoda content creator.svg)

* [Katacoda CLI](#katacoda-cli) * [Usage](#usage) * [Commands](#commands)

Usage

```sh-session $ npm install -g katacoda-cli $ katacoda COMMAND running command... $ katacoda (-v|--version|version) katacoda-cli/0.0.17 darwin-x64 node-v8.16.0 $ katacoda --help [COMMAND] USAGE $ katacoda COMMAND ... ```

Commands

* [`katacoda commands`](#katacoda-commands) * [`katacoda courses:add:scenarios`](#katacoda-coursesaddscenarios) * [`katacoda courses:create`](#katacoda-coursescreate) * [`katacoda courses:delete`](#katacoda-coursesdelete) * [`katacoda help [COMMAND]`](#katacoda-help-command) * [`katacoda scenarios:add:asset`](#katacoda-scenariosaddasset) * [`katacoda scenarios:add:steps`](#katacoda-scenariosaddsteps) * [`katacoda scenarios:create`](#katacoda-scenarioscreate) * [`katacoda scenarios:delete`](#katacoda-scenariosdelete) * [`katacoda scenarios:demo`](#katacoda-scenariosdemo) * [`katacoda scenarios:remove:steps`](#katacoda-scenariosremovesteps) * [`katacoda scenarios:validate`](#katacoda-scenariosvalidate) * [`katacoda scenarios:validate:all`](#katacoda-scenariosvalidateall) * [`katacoda training:create`](#katacoda-trainingcreate) * [`katacoda validate:all`](#katacoda-validateall)

katacoda commands

list all the commands

USAGE
  $ katacoda commands

OPTIONS
  -h, --help  show CLI help
  -j, --json  output in json format
  --hidden    also show hidden commands

See code: @oclif/plugin-commands

katacoda courses:add:scenarios

Add a existing scenario to course

USAGE
  $ katacoda courses:add:scenarios

See code: src/commands/courses/add/scenarios.ts

katacoda courses:create

Create a new Katacoda course

USAGE
  $ katacoda courses:create

See code: src/commands/courses/create.ts

katacoda courses:delete

Delete a Katacoda course

USAGE
  $ katacoda courses:delete

See code: src/commands/courses/delete.ts

katacoda help [COMMAND]

display help for katacoda

USAGE
  $ katacoda help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help

katacoda scenarios:add:asset

Add assets to scenario

USAGE
  $ katacoda scenarios:add:asset

OPTIONS
  -a, --asset=asset    path to asset
  -t, --target=target  directory the file should be uploaded to

See code: src/commands/scenarios/add/asset.ts

katacoda scenarios:add:steps

Add steps to scenario

USAGE
  $ katacoda scenarios:add:steps

OPTIONS
  -p, --scenariopath=scenariopath  path to scenario
  -s, --steps=steps                Number of steps

See code: src/commands/scenarios/add/steps.ts

katacoda scenarios:create

Create a new Katacoda scenario

USAGE
  $ katacoda scenarios:create

See code: src/commands/scenarios/create.ts

katacoda scenarios:delete

Safely remove a scenario

USAGE
  $ katacoda scenarios:delete

See code: src/commands/scenarios/delete.ts

katacoda scenarios:demo

Generate a demo scenario

USAGE
  $ katacoda scenarios:demo

See code: src/commands/scenarios/demo.ts

katacoda scenarios:remove:steps

Remove steps from scenario

USAGE
  $ katacoda scenarios:remove:steps

OPTIONS
  -p, --scenariopath=scenariopath  path to scenario
  -s, --steps=steps                steps to delete

See code: src/commands/scenarios/remove/steps.ts

katacoda scenarios:validate

Validate scenario structure is correct

USAGE
  $ katacoda scenarios:validate

See code: src/commands/scenarios/validate.ts

katacoda scenarios:validate:all

Validate structure of all scenarios

USAGE
  $ katacoda scenarios:validate:all

OPTIONS
  --repo=repo

See code: src/commands/scenarios/validate/all.ts

katacoda training:create

Create a new Katacoda training

USAGE
  $ katacoda training:create

See code: src/commands/training/create.ts

katacoda validate:all

Validate structure of all scenarios

USAGE
  $ katacoda validate:all

OPTIONS
  --repo=repo

See code: src/commands/validate/all.ts

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free