1313
1414class Menus :
1515
16+ def __init__ (
17+ self , network : str | None = None , update : bool = False
18+ ) -> None :
19+ self .network = network
20+ self .update = update
21+
1622 # Construct service contents for docker-compose
17- def service (self ) -> dict [str , Any ]:
23+ def service (self , name : str ) -> dict [str , Any ]:
1824 return {}
1925
20- def __get_name (self ) -> str :
21- return ""
22-
2326 def __get_ports (self ) -> str :
2427 return ""
2528
2629 def __expose (self ) -> bool :
2730 return True
2831
29- def __resources (self ) -> dict [str , int ]:
32+ def __resources (self ) -> dict [str , Any ]:
3033 return {}
3134
3235 # Construct env file contents
@@ -50,15 +53,14 @@ class Builder(CustomGroup):
5053
5154 def __init__ (self ) -> None :
5255 super ().__init__ ()
53- self .menus = Menus ()
5456
5557 def create (self ) -> Command :
5658
5759 help = ""
5860 options = [Option ()]
5961
60- def callback () -> None :
61- pass
62+ def callback () -> dict [ str , Any ] :
63+ return {}
6264
6365 return Command (
6466 name = inspect .currentframe ().f_code .co_name , # type: ignore
@@ -72,8 +74,8 @@ def update(self) -> Command:
7274 help = ""
7375 options = [Option ()]
7476
75- def callback () -> None :
76- pass
77+ def callback () -> dict [ str , Any ] :
78+ return {}
7779
7880 return Command (
7981 name = inspect .currentframe ().f_code .co_name , # type: ignore
0 commit comments