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

feat: provide pre/post enable and pre/post disable callback methods #111

Open
shortcuts opened this issue Dec 31, 2022 · 0 comments
Open
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Milestone

Comments

@shortcuts
Copy link
Owner

Describe the problem

Suggested here

Providing such methods would allow user to customize the behavior of the plugin, disable/enable other plugins, but also some easy escape hatch.

Describe the solution

  • Provide callback methods defined at the config level
    • (do nothing by default)
  • methods should provide some cool parameters like the internal state
@shortcuts shortcuts added enhancement New feature or request help wanted Extra attention is needed good first issue Good for newcomers labels Dec 31, 2022
@shortcuts shortcuts added this to the next milestone Jun 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant