ptc-flow-cli

9.1.2 • Public • Published

ThingWorx Flow CLI


Thingworx Flow CLI is a command line application to allow developers to build connectors for ThingWorx Flow. The flow cli can be used to create and test the following connector artifacts

  • Authentication
  • Actions
  • Lookups
  • Triggers

Getting Started


Installation

Run the following command to install the flow cli globally.

npm install -g ptc-flow-cli  

Creating your first connector project

To create a new connector project, follow the steps:

  • Open a shell and change the directory to the folder where you would like to create the new project.
  • Create a new project by executing the following command
    flow init <PROJECT_NAME>
    This will create a new folder named <PROJECT_NAME>
  • Change the directory to the project directory and run the following command
    npm install
  • Verify that the connector is set up correctly by executing the following command in your project directory
    npm test

For detailed information on creating new connectors refer to the ThingWorx Help Center .

Readme

Keywords

none

Package Sidebar

Install

npm i ptc-flow-cli

Weekly Downloads

49

Version

9.1.2

License

MIT

Unpacked Size

1.04 MB

Total Files

108

Last publish

Collaborators

  • ptc-node-team