feat(cli): Adding two new commands (uncurl/curl2fetcher)

This commit is contained in:
Karim shoair
2025-04-29 02:45:50 +03:00
parent a9dded34f4
commit 98ad50d5aa
2 changed files with 348 additions and 19 deletions
+3 -3
View File
@@ -1,12 +1,10 @@
import os
import subprocess
import sys
import subprocess
from pathlib import Path
import click
from scrapling.core.shell import CustomShell
def get_package_dir():
return Path(os.path.dirname(__file__))
@@ -73,6 +71,8 @@ def install(force):
help="Log level (default: DEBUG)",
)
def shell(code, level):
from scrapling.core.shell import CustomShell
console = CustomShell(code=code, log_level=level)
console.start()