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