MindConnect–NodeJS - CLI - Starter Projects

Introduction

The CLI provides a convinient way to kick off your custom agent development.

TypeScript Starter Project (mc starter-ts)

Usage: starter-ts|st [options]

creates a starter project in typescript #

Options:
  -d, --dir <directoryname>  directory name (default: "starterts")
  -v, --verbose              verbose output
  -h, --help                 output usage information

  Examples:

    mc starter-ts                     this creates a directory called starterts
    mc st --dir mindconnect-agent     this creates a directory called mindconnect-agent

Example

Run:

mc starter-ts

Run npm install in your starter project directory to install all dependencies

JavaScript Starter Project (mc starter-js)

Usage: starter-js|sj [options]

creates a starter project in javascript #

Options:
  -d, --dir <directoryname>  directory name (default: "starterjs")
  -v, --verbose              verbose output
  -h, --help                 output usage information

  Examples:

    mc starter-js                    this creates a directory called starterts
    mc sj --dir mindconnect-agent    this creates a directory called mindconnect-agent

Example

Run

mc starter-js --dir mydir

to create a starter project in mydir directory.

Run npm install in your starter project directory to install all dependencies

The content of the community tools and libraries documentation pages is licensed under the MIT License.
Siemens API Notice applies.
Back to top