refactor: return the campaign plan as lines

This commit is contained in:
Abdessamad Derraz committed 2026-11-22 02:26:45 +01:00
1 parent 04e1d2d3ab
commit ee404551a9
3 files changed
+16 -21

No files matched your search

+2 -1
View File
@@ -41,7 +41,8 @@ def run_mode(parser: argparse.ArgumentParser, args: argparse.Namespace) -> int:
if args.command == "references":
return _references(campaign, args, only)
if args.dry_run:
campaign.run(only, args.system, dry_run=True)
for line in campaign.describe(only, args.system):
print(line)
return 0
return _run_pass(campaign, args, only, paths)