From f13bb368e6c7d85df84bf725a5430d443faf2e25 Mon Sep 17 00:00:00 2001 From: Benjamin Labrecque Date: Thu, 23 Jul 2026 16:28:36 +0200 Subject: [PATCH] fix: cli agebd service add method --- cli/src/service.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/cli/src/service.py b/cli/src/service.py index 6aa4a30..d2f4018 100644 --- a/cli/src/service.py +++ b/cli/src/service.py @@ -1,6 +1,7 @@ import typer from config.paths import Paths +from core.git import GitRepoManager from core.service_creator import ServiceCreator from core.utils import get_git_root, init_logging from models import ServiceRegistry @@ -43,13 +44,13 @@ def add( ): init_logging() ctx = ServicesContext.load_from_disk(Paths()) - service_creator = ServiceCreator(ctx=ctx) + service_creator = ServiceCreator(ctx=ctx, repo_manager=GitRepoManager(REPO_ROOT)) service_creator.add_service( name=name, - user=user, # TODO: read from 'whoami'? + user=user, ioc_description=ioc_description, - ui_name=ui_name, # TODO: make this standard? - ui_filename=ui_filename, # TODO: make this standard? + ui_name=ui_name, + ui_filename=ui_filename, )