From 6884590003134c35631e540fac74c5cd31be4298 Mon Sep 17 00:00:00 2001 From: HC-ONLINE Date: Tue, 4 Aug 2026 16:14:11 -0500 Subject: [PATCH] fix: export missing api and quick commands from cli/commands/__init__.py The commands __init__.py was missing exports for run_api (from api.py) and quick_cmd (from quick.py), which are imported and registered by app.py. This inconsistency meant the commands subpackage did not reflect the full public API of the CLI commands layer. Added both imports and updated __all__ to include all 7 command modules consistently. --- src/ciberwebscan/cli/commands/__init__.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/ciberwebscan/cli/commands/__init__.py b/src/ciberwebscan/cli/commands/__init__.py index e70036e..e5f4387 100644 --- a/src/ciberwebscan/cli/commands/__init__.py +++ b/src/ciberwebscan/cli/commands/__init__.py @@ -3,15 +3,19 @@ """ from ciberwebscan.cli.commands.analyze import analyze_cmd +from ciberwebscan.cli.commands.api import run_api from ciberwebscan.cli.commands.attack import attack_cmd from ciberwebscan.cli.commands.completion import completion_app from ciberwebscan.cli.commands.config import config +from ciberwebscan.cli.commands.quick import quick_cmd from ciberwebscan.cli.commands.scrape import scrape __all__ = [ - "scrape", "analyze_cmd", "attack_cmd", - "config", "completion_app", + "config", + "quick_cmd", + "run_api", + "scrape", ]