From 67fe97ad95f3066925b70b03181c94fc560a5f1c Mon Sep 17 00:00:00 2001 From: tduhamel42 Date: Sun, 2 Nov 2025 16:20:37 +0100 Subject: [PATCH] fix: Update main.py to use finding_id instead of rule_id parameter Aligns main.py with the updated findings.py command that changed from --rule to --id for finding lookups by unique UUID. --- cli/src/fuzzforge_cli/main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cli/src/fuzzforge_cli/main.py b/cli/src/fuzzforge_cli/main.py index 66b7c25..7f5aa54 100644 --- a/cli/src/fuzzforge_cli/main.py +++ b/cli/src/fuzzforge_cli/main.py @@ -263,13 +263,13 @@ def workflow_main(): @finding_app.command("show") def show_finding_detail( run_id: str = typer.Argument(..., help="Run ID to get finding from"), - rule_id: str = typer.Option(..., "--rule", "-r", help="Rule ID of the specific finding to show") + finding_id: str = typer.Option(..., "--id", "-i", help="Unique ID of the specific finding to show") ): """ 🔍 Show detailed information about a specific finding """ from .commands.findings import show_finding - show_finding(run_id=run_id, rule_id=rule_id) + show_finding(run_id=run_id, finding_id=finding_id) @finding_app.callback(invoke_without_command=True)