Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Explanation of Features
Directory Management:
create_plugins_directory(): Ensures the plugins directory exists. Plugin Creation and Deletion:
create_plugin(name): Creates a new plugin file with a sample run function. delete_plugin(name): Deletes a specified plugin file. Listing Plugins:
list_plugins(): Lists all available plugins in the plugins directory. Loading Plugins:
load_plugins(load_order=None, omit_files=None): Loads plugins based on specified load order and omits specified files if needed. Running Plugins:
run_plugins(plugins, function_name="run"): Executes a specified function (default is run) from each loaded plugin. Interactive Menu:
A simple command-line interface allows users to create, delete, list, load, and run plugins. Usage
Place the plugin_manager.py script in the same directory as your finder.py. Run the plugin_manager.py script to manage your plugins. Create new plugins, delete them, or run them as needed.