Improved menu handling
This commit is contained in:
		| @@ -10,10 +10,7 @@ class MenuServiceABC(ABC): | ||||
|     def run(self): pass | ||||
|      | ||||
|     @abstractmethod | ||||
|     def select_os(self) -> str: pass | ||||
|     def select_os(self) -> bool: pass | ||||
|      | ||||
|     @abstractmethod | ||||
|     def main_menu(self) -> str: pass | ||||
|      | ||||
|     @abstractmethod | ||||
|     def select_collection(self) -> str: pass | ||||
|     def main_menu(self) -> bool: pass | ||||
|   | ||||
							
								
								
									
										17
									
								
								src/multi_install/model/main_menu_enum.py
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										17
									
								
								src/multi_install/model/main_menu_enum.py
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,17 @@ | ||||
| from enum import Enum | ||||
|  | ||||
|  | ||||
| class MainMenuEnum(Enum): | ||||
|  | ||||
|     install_collection = 'Install collection' | ||||
|     uninstall_collection = 'Uninstall collection' | ||||
|     add_collection = 'Add collection' | ||||
|     remove_collection = 'Remove collection' | ||||
|      | ||||
|     install_application = 'Install application' | ||||
|     uninstall_application = 'Uninstall application' | ||||
|     add_application = 'Add application' | ||||
|     remove_application = 'Remove application' | ||||
|      | ||||
|     back = 'Back' | ||||
|     exit = 'Exit' | ||||
		Reference in New Issue
	
	Block a user