twist-device-csv
v1.0.0
Published
Command line tool to add devices to csv files for use with Twist
Downloads
9
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 -g
Copy 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 add
This will ask questions as to the fields of the device you want to add
node twist-device-csv.js remove
This will display a list of devices. Enter the number of the device you wish to remove
node twist-device-csv.js sanitise path
This 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