nuǝW pǝuoᴉʇᴉsoԀ ʎlǝʌᴉʇɐƃǝN

    katacoda-cli
    TypeScript icon, indicating that this package has built-in type declarations

    0.0.22 • Public • Published

    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)

    Usage

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

    Commands

    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 if the 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
      --ignore=ignore
      --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
      --ignore=ignore
      --repo=repo
    

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

    Keywords

    Install

    npm i katacoda-cli

    DownloadsWeekly Downloads

    106

    Version

    0.0.22

    License

    none

    Unpacked Size

    93.2 kB

    Total Files

    59

    Last publish

    Collaborators

    • avatar