ptc-flow-cli
v7.7.4
Published
ThingWorx Flow CLI Utility
Downloads
133
Readme
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 .