Open DavidWells opened 5 years ago
Update:
You can use the message
field listed here: https://github.com/netlify/addons/blob/master/README.md#response-to-netlify-1 in the creation flow.
This only works for the creation flow. We still need to update the update
and delete
flows to support messages
Is your feature request related to a problem? Please describe.
When addons are created, updated, or deleted the user sees a generic message without additional context on what to do next.
Example CLI output with no additional context:
VGS needs to tell the user to complete some additional steps to finish setup and would like to log out instructions after creation/updating
A couple of addon providers have requested being able to show a message after
netlify addons:create/update/delete
This would be an extra field passed back from their API in the provisioning calls. Example from create
Proposed Solution
Add
message
field to allowed values back from addon endpoints and pass those down to the client (CLI & UI)Show message here in CLI https://github.com/netlify/cli/blob/master/src/commands/addons/create.js#L65