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

Plugins sytem for action types #149

Open
diego-plan9 opened this issue Nov 14, 2022 · 0 comments
Open

Plugins sytem for action types #149

diego-plan9 opened this issue Nov 14, 2022 · 0 comments
Labels
crate: cli Related to the cli crate crate: lib Related to the lib crate enhancement New feature or request

Comments

@diego-plan9
Copy link
Owner

Currently, i3 and command are the two available action types - while they are implemented via an Action trait, there are a number of places where their existence is hard-coded:

  • command line enabled_action_types possible values
  • conversion into specific actions at extract_action_map
  • ActionType enum

It would be good to provide a small plugin-like system that can allow not only for dynamically loading specific action types, but extending seamlessly to other kinds of actions.

@diego-plan9 diego-plan9 added enhancement New feature or request crate: cli Related to the cli crate crate: lib Related to the lib crate labels Nov 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
crate: cli Related to the cli crate crate: lib Related to the lib crate enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant