Added egg cracking jar support

This commit is contained in:
Jan-Luca Bogdan | BEL NET GmbH
2022-06-28 17:02:33 +02:00
parent e17be2c500
commit 9b2ff6e208
4 changed files with 95 additions and 35 deletions

View File

@@ -116,7 +116,7 @@ def ftp_list_all(ftp):
rich_print_error("Error: [FTP]: No plugins were found.")
def ftp_listFilesInServerRoot(ftp):
def ftp_list_files_in_server_root(ftp):
"""
Returns a list with all files in the root folder of the ftp host
@@ -136,7 +136,7 @@ def ftp_listFilesInServerRoot(ftp):
rich_print_error("Error: [FTP]: No Serverjar was found.")
def ftp_downloadFile(ftp, path_download, file) -> None:
def ftp_download_file(ftp, path_download, file) -> None:
"""
Download a file of the ftp server

View File

@@ -3,7 +3,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_downloader import get_specific_plugin_spiget, search_specific_plugin_spiget
from src.plugin.plugin_updatechecker import check_installed_plugins, update_installed_plugins
@@ -41,9 +41,9 @@ def handle_input(
case "get":
match input_selected_object.isdigit():
case True:
get_specific_plugin(input_selected_object, input_parameter)
get_specific_plugin_spiget(input_selected_object, input_parameter)
case _:
search_specific_plugin(input_selected_object)
search_specific_plugin_spiget(input_selected_object)
case "update":
match input_selected_object:
@@ -62,7 +62,7 @@ def handle_input(
check_installed_plugins(input_selected_object, input_parameter)
case "search":
search_specific_plugin(input_selected_object)
search_specific_plugin_spiget(input_selected_object)
case "remove":
print("remove package")
#removePlugin(inputSelectedObject)