webtools-cli 1.1.5__tar.gz → 1.1.6__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {webtools_cli-1.1.5/webtools_cli.egg-info → webtools_cli-1.1.6}/PKG-INFO +1 -1
- {webtools_cli-1.1.5 → webtools_cli-1.1.6}/pyproject.toml +1 -1
- {webtools_cli-1.1.5 → webtools_cli-1.1.6}/webtools/core.py +2 -10
- {webtools_cli-1.1.5 → webtools_cli-1.1.6/webtools_cli.egg-info}/PKG-INFO +1 -1
- {webtools_cli-1.1.5 → webtools_cli-1.1.6}/LICENSE +0 -0
- {webtools_cli-1.1.5 → webtools_cli-1.1.6}/README.md +0 -0
- {webtools_cli-1.1.5 → webtools_cli-1.1.6}/setup.cfg +0 -0
- {webtools_cli-1.1.5 → webtools_cli-1.1.6}/webtools/__init__.py +0 -0
- {webtools_cli-1.1.5 → webtools_cli-1.1.6}/webtools/__main__.py +0 -0
- {webtools_cli-1.1.5 → webtools_cli-1.1.6}/webtools/cli.py +0 -0
- {webtools_cli-1.1.5 → webtools_cli-1.1.6}/webtools/install.py +0 -0
- {webtools_cli-1.1.5 → webtools_cli-1.1.6}/webtools/web/index.html +0 -0
- {webtools_cli-1.1.5 → webtools_cli-1.1.6}/webtools/web/script.js +0 -0
- {webtools_cli-1.1.5 → webtools_cli-1.1.6}/webtools/web/style.css +0 -0
- {webtools_cli-1.1.5 → webtools_cli-1.1.6}/webtools_cli.egg-info/SOURCES.txt +0 -0
- {webtools_cli-1.1.5 → webtools_cli-1.1.6}/webtools_cli.egg-info/dependency_links.txt +0 -0
- {webtools_cli-1.1.5 → webtools_cli-1.1.6}/webtools_cli.egg-info/entry_points.txt +0 -0
- {webtools_cli-1.1.5 → webtools_cli-1.1.6}/webtools_cli.egg-info/requires.txt +0 -0
- {webtools_cli-1.1.5 → webtools_cli-1.1.6}/webtools_cli.egg-info/top_level.txt +0 -0
|
@@ -626,7 +626,7 @@ def analyze_ai_content(text):
|
|
|
626
626
|
if not ensure_textblob_corpora(download=False):
|
|
627
627
|
return {
|
|
628
628
|
'skipped': True,
|
|
629
|
-
'message': 'AI analysis skipped (Missing AI data).
|
|
629
|
+
'message': 'AI analysis skipped (Missing AI data).'
|
|
630
630
|
}
|
|
631
631
|
|
|
632
632
|
from textblob import TextBlob
|
|
@@ -2601,7 +2601,7 @@ def print_image_forensics_report(data):
|
|
|
2601
2601
|
|
|
2602
2602
|
def main_launcher():
|
|
2603
2603
|
"""Mode selection menu on startup"""
|
|
2604
|
-
menu_commands = ['/web', '/cli', '/image', '/help', '/clear', '/quit', '/history', '/
|
|
2604
|
+
menu_commands = ['/web', '/cli', '/image', '/help', '/clear', '/quit', '/history', '/w', '/c', '/i', '/h', '/q', '/hi', '--help']
|
|
2605
2605
|
setup_autocomplete(menu_commands)
|
|
2606
2606
|
|
|
2607
2607
|
while True:
|
|
@@ -2639,20 +2639,12 @@ def main_launcher():
|
|
|
2639
2639
|
print(f" {Fore.CYAN}/web{Style.RESET_ALL} - Launches the web engine for browser-based auditing. (Alias: /w)")
|
|
2640
2640
|
print(f" {Fore.CYAN}/cli{Style.RESET_ALL} - Runs a deep-scan intelligence report in the terminal. (Alias: /c)")
|
|
2641
2641
|
print(f" {Fore.CYAN}/image{Style.RESET_ALL} - Local/Remote Image Forensics & AI detection. (Alias: /i)")
|
|
2642
|
-
print(f" {Fore.CYAN}/setup-ai{Style.RESET_ALL}- Downloads required NLTK data for AI sentiment analysis.")
|
|
2643
2642
|
print(f" {Fore.CYAN}/clear{Style.RESET_ALL} - Purges the 'webfiles/scraped' directory and clears screen.")
|
|
2644
2643
|
print(f" {Fore.CYAN}/history{Style.RESET_ALL} - Shows command history. (Alias: /hi)")
|
|
2645
2644
|
print(f" {Fore.CYAN}/help{Style.RESET_ALL} - Displays this help message. (Alias: /h, --help)")
|
|
2646
2645
|
print(f" {Fore.RED}/quit{Style.RESET_ALL} - Shuts down the application safely. (Alias: /q)")
|
|
2647
2646
|
print(f"\n{Fore.YELLOW}Tip:{Style.RESET_ALL} While in /web mode, type {Fore.RED}/q{Style.RESET_ALL} to return to main menu.")
|
|
2648
2647
|
input("\nPress Enter to continue...")
|
|
2649
|
-
elif choice == '/setup-ai':
|
|
2650
|
-
print(f"\n{Fore.CYAN}Initializing AI Data Setup...{Style.RESET_ALL}")
|
|
2651
|
-
if ensure_textblob_corpora(download=True):
|
|
2652
|
-
print(f"{Fore.GREEN}✅ AI Data successfully installed!")
|
|
2653
|
-
else:
|
|
2654
|
-
print(f"{Fore.RED}❌ AI Data installation failed. Check internet connection.")
|
|
2655
|
-
input("\nPress Enter to continue...")
|
|
2656
2648
|
elif choice in ['/history', '/hi']:
|
|
2657
2649
|
if AUTOCOMPLETE_AVAILABLE and os.path.exists(HISTORY_FILE):
|
|
2658
2650
|
print(f"\n{Fore.CYAN}--- Command History ---{Style.RESET_ALL}")
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|