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

Create plugin_manager.py #3

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

unaveragetech
Copy link

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.

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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant