twist-device-csv
v1.0.0
Published
Command line tool to add devices to csv files for use with Twist
Readme
twist-device-csv
Command line tool to add devices to csv files for use with Twist
Instructions
Install the node module globally by running
npm install -gCopy the config.js file to a location within your project and from that location you can run the commands
Initially run the add command to set up a resource file which will be a master version of the devices set up
node twist-device-csv.js addThis will ask questions as to the fields of the device you want to add
node twist-device-csv.js removeThis will display a list of devices. Enter the number of the device you wish to remove
node twist-device-csv.js sanitise pathThis will copy the resource file to all *.scn.csv files in the stated path
config.js contains some basic configuration to change the name of the fields etc
