cli change

This commit is contained in:
2026-04-27 09:41:53 +02:00
parent 093a887358
commit 43759e720b
+12 -8
View File
@@ -59,6 +59,17 @@ def run_classic_cli():
print("\n" + "=" * 50) print("\n" + "=" * 50)
print("Done.") print("Done.")
def run_exhaustive_cli():
steps = prompt_int("How many steps? (1100): ", 1, 100)
target_reg = prompt_int("Target register (07): ", 0, 7)
print("-" * 50)
run_exhaustive(steps, target_reg)
print("\n" + "=" * 50)
print("Done.")
def main(): def main():
print("=" * 50) print("=" * 50)
@@ -74,14 +85,7 @@ def main():
if mode == 1: if mode == 1:
run_classic_cli() run_classic_cli()
else: else:
steps = prompt_int("How many steps? (1100): ", 1, 100) run_exhaustive_cli()
target_reg = prompt_int("Target register (07): ", 0, 7)
print("-" * 50)
run_exhaustive(steps, target_reg)
print("\n" + "=" * 50)
print("Done.")
main() main()