Added experimental update checker

This commit is contained in:
Jan-Luca Bogdan | BEL NET GmbH
2022-06-20 17:21:58 +02:00
parent 84fcfc8922
commit 8620dfbe74
7 changed files with 320 additions and 16 deletions

View File

@@ -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)