From 9b4c20dd19ca9e919b496bf6bd99073f830b9334 Mon Sep 17 00:00:00 2001 From: Noam Siegel <52804845+noamsiegel@users.noreply.github.com> Date: Wed, 21 Aug 2024 10:54:57 -0700 Subject: [PATCH] removed debug statements --- cli/cli.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/cli/cli.go b/cli/cli.go index 83847f2..59ce5d1 100644 --- a/cli/cli.go +++ b/cli/cli.go @@ -100,14 +100,10 @@ func Cli() (message string, err error) { fmt.Println("ScrapeURL flag is set") // Debug print url := currentFlags.ScrapeURL curlCommand := fmt.Sprintf("curl https://r.jina.ai/%s", url) - fmt.Println("Executing command:", curlCommand) // Debug print if err := exec.Command("sh", "-c", curlCommand).Run(); err != nil { return "", fmt.Errorf("failed to run curl command: %w", err) } - fmt.Println("Curl command executed successfully") // Debug print os.Exit(0) - } else { - fmt.Println("ScrapeURL flag is not set") // Debug print } // if the interactive flag is set, run the interactive function