mirror of
https://github.com/Neocky/pluGET.git
synced 2024-04-29 16:12:30 +00:00
Added experimental update checker
This commit is contained in:
@@ -4,6 +4,7 @@ Handles the input through the pluGET command line
|
||||
|
||||
from src.utils.console_output import rich_print_error
|
||||
from src.plugin.plugin_downloader import get_specific_plugin, search_specific_plugin
|
||||
from src.plugin.plugin_updatechecker import check_installed_plugins
|
||||
|
||||
|
||||
# check
|
||||
@@ -36,8 +37,7 @@ def handle_input(input_command=None, input_selected_object=None, input_parameter
|
||||
case True:
|
||||
get_specific_plugin(input_selected_object, input_parameter)
|
||||
case _:
|
||||
print("get search specific package")
|
||||
#searchPackage(inputSelectedObject)
|
||||
search_specific_plugin(input_selected_object)
|
||||
|
||||
case "update":
|
||||
print("update package")
|
||||
@@ -57,7 +57,7 @@ def handle_input(input_command=None, input_selected_object=None, input_parameter
|
||||
#checkInstalledServerjar()
|
||||
case _:
|
||||
print("check plugins")
|
||||
#checkInstalledPackage(inputSelectedObject, inputParams)
|
||||
check_installed_plugins(input_selected_object, input_parameter)
|
||||
|
||||
case "search":
|
||||
search_specific_plugin(input_selected_object)
|
||||
|
Reference in New Issue
Block a user