@c12e/generator-cortex

0.3.30 • Public • Published

Yeoman Generator for Cortex Projects

Build Status

This is a Yeoman generator for setting up a project that groups a collection of Cortex skill definitions and the underlying implementation logic.

Uses

  1. Create a Cortex project:

    yo cortex

  2. Add a skill to the project:

    yo cortex:skill

User Setup

  1. Install Yeoman npm install -g yo

  2. Install the Cortex generator for Yeoman npm install -g generator-cortex

User Process

  1. Prepare for isolating this project's components
  2. Set up a Cortex account
  3. Set up a developer account
  4. Install Cortex Studio and configure for skill development
  5. Create a directory for the project
  6. Generate the recommended project layout using yo cortex
  7. Generate skills as needed using yo cortex:skill
  8. Commit work to an SCM like git.

These steps are detailed in the setup guide

Generator Contributor Setup

  1. Install the Cortex CLI
  2. Install Yeoman

Developer setup

Running locally

yo ./generator/app
yo ./generator/datasets

Debugging

node --inspect `which yo` <generator> [arguments]

/@c12e/generator-cortex/

    Package Sidebar

    Install

    npm i @c12e/generator-cortex

    Weekly Downloads

    3

    Version

    0.3.30

    License

    Apache-2.0

    Unpacked Size

    65.1 kB

    Total Files

    88

    Last publish

    Collaborators

    • johan_gielstra
    • msanchez_cogscale