Learn about our RFC process, Open RFC meetings & more.Join in the discussion! »

katacoda-cli

0.0.7 • Public • Published

Katacoda CLI

Create and manage Katacoda content from the command-line

oclif Version Downloads/week License

Usage

$ npm install -g katacoda-cli
$ katacoda COMMAND
running command...
$ katacoda (-v|--version|version)
katacoda-cli/0.0.7 darwin-x64 node-v8.15.0
$ katacoda --help [COMMAND]
USAGE
  $ katacoda COMMAND
...

Commands

katacoda autocomplete [SHELL]

display autocomplete installation instructions

USAGE
  $ katacoda autocomplete [SHELL]

ARGUMENTS
  SHELL  shell type

OPTIONS
  -r, --refresh-cache  Refresh cache (ignores displaying instructions)

EXAMPLES
  $ katacoda autocomplete
  $ katacoda autocomplete bash
  $ katacoda autocomplete zsh
  $ katacoda autocomplete --refresh-cache

See code: @oclif/plugin-autocomplete

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

Keywords

Install

npm i [email protected]

Version

0.0.7

License

none

Unpacked Size

56.6 kB

Total Files

39

Last publish

Collaborators

  • avatar