Open narinearraul opened 7 years ago
[ ] csync create function <name> This will generate a file hierarchy similar to this:
csync create function <name>
csync-functions ---> functionName ---> index.js ---> package.json ---> config.json
[ ] csync deploy function [<name>]
csync deploy function [<name>]
Read from config.json
Get folder with the specified function name or all if none is specified
run npm install
npm install
create zip
upload zip to ow
register action on csync server
[ ]
csync create function <name>
This will generate a file hierarchy similar to this:[ ]
csync deploy function [<name>]
Read from config.json
Get folder with the specified function name or all if none is specified
run
npm install
create zip
upload zip to ow
register action on csync server