fix: --yes flag now skips room confirmation in init
Pass yes flag through to detect_rooms_local so init --yes skips both entity detection AND room approval prompts. Agents and CI can now run init without interactive input. Fixes #8
This commit is contained in:
+1
-1
@@ -59,7 +59,7 @@ def cmd_init(args):
|
||||
print(" No entities detected — proceeding with directory-based rooms.")
|
||||
|
||||
# Pass 2: detect rooms from folder structure
|
||||
detect_rooms_local(project_dir=args.dir)
|
||||
detect_rooms_local(project_dir=args.dir, yes=getattr(args, "yes", False))
|
||||
MempalaceConfig().init()
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user