Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide an interface for plugin to declare derex related operations #187

Open
chiruzzimarco opened this issue Jun 25, 2021 · 0 comments
Open
Labels
enhancement New feature or request
Milestone

Comments

@chiruzzimarco
Copy link
Contributor

We need an interface for plugins to declare function needed to handle some operations, namely:

  • additional steps needed to provision the plugin (e.g. create a database or an elasticsearch index). I'm thinking about generic setup method which, if exists, will be called by derex when provisioning the plugin
  • a reset method which will be called by derex when resetting the project after New command reset-project #56 is implemented
  • a backup and a restore method which will be called by derex when backupping/restoring the project

Those are just some examples, the generic purpose for this is to provide plugins with hooks in project wide operations.

@chiruzzimarco chiruzzimarco added the enhancement New feature or request label Jun 25, 2021
@chiruzzimarco chiruzzimarco added this to the Release 0.4.0 milestone Jun 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant