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

Use plugin model for targets #539

Open
ericwb opened this issue Jul 27, 2024 · 0 comments
Open

Use plugin model for targets #539

ericwb opened this issue Jul 27, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@ericwb
Copy link
Contributor

ericwb commented Jul 27, 2024

Is your feature request related to a problem? Please describe.
If more target types are added, it's better to use a plugin type model than hard-code into CLI main.

Describe the solution you'd like
Two targets are supported currently, files and a GitHub repo. If PyPI source is also added as a target, then might as well create a plugin model for such.

Should use same extension model used for rules and parsers.

Describe alternatives you've considered
Continuing to hard code.

Additional context
n/a

Love this idea? Give it a 👍. We prioritize fulfilling features with the most 👍.

@ericwb ericwb added the enhancement New feature or request label Jul 27, 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
Projects
None yet
Development

No branches or pull requests

1 participant