WIP: Services.copy_configs
This commit is contained in:
parent
9922bcd288
commit
3c1f1e74cb
2 changed files with 14 additions and 0 deletions
|
@ -53,6 +53,9 @@ class UpdateCommand(KiwiCommand):
|
||||||
):
|
):
|
||||||
return
|
return
|
||||||
|
|
||||||
|
# services.copy_configs()
|
||||||
|
# return
|
||||||
|
|
||||||
ctx = get_current_context()
|
ctx = get_current_context()
|
||||||
assert isinstance(BuildCommand, click.Command)
|
assert isinstance(BuildCommand, click.Command)
|
||||||
ctx.forward(BuildCommand)
|
ctx.forward(BuildCommand)
|
||||||
|
|
|
@ -21,6 +21,17 @@ class Services:
|
||||||
def __bool__(self) -> bool:
|
def __bool__(self) -> bool:
|
||||||
return bool(self.content)
|
return bool(self.content)
|
||||||
|
|
||||||
|
# def copy_configs(self):
|
||||||
|
# configs = (
|
||||||
|
# config
|
||||||
|
# for service in self.content
|
||||||
|
# for config in service.configs
|
||||||
|
# )
|
||||||
|
#
|
||||||
|
# print(list(configs))
|
||||||
|
#
|
||||||
|
# # Rootkit("rsync").
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def names(self) -> Generator[str, None, None]:
|
def names(self) -> Generator[str, None, None]:
|
||||||
return (
|
return (
|
||||||
|
|
Loading…
Reference in a new issue