serverless-toolkit icon indicating copy to clipboard operation
serverless-toolkit copied to clipboard

feat(templating): introduce postinstall hook

Open dkundel opened this issue 5 years ago • 0 comments

This feature allows templates to have postinstall hooks that can run account setup for users. It's a sandboxed script that will allow scripts to access Twilio but not other parts of the system.

This is still very much a WIP. Before we can ship this, the following have to be done:

  • [ ] add new flags to new command that support Account SID and Auth Token
  • [ ] add documentation to twilio-labs/function-templates
  • [ ] read env variables from local env file
  • [ ] command to re-run setup
  • [ ] tbd

Contributing to Twilio

All third-party contributors acknowledge that any contributions they provide will be made under the same open-source license that the open-source project is provided under.

  • [x] I acknowledge that all my contributions will be made under the project's license.

dkundel avatar Jan 18 '20 01:01 dkundel