From 1a613b005a824600edecfc23d1efd2a31d565012 Mon Sep 17 00:00:00 2001 From: acidvegas Date: Tue, 11 Feb 2025 02:34:55 -0500 Subject: [PATCH] added cli to path --- httpz-scanner/__init__.py | 2 +- httpz/__main__.py | 1 + setup.py | 7 ++++++- 3 files changed, 8 insertions(+), 2 deletions(-) create mode 100644 httpz/__main__.py diff --git a/httpz-scanner/__init__.py b/httpz-scanner/__init__.py index ab9718f..452b9d1 100644 --- a/httpz-scanner/__init__.py +++ b/httpz-scanner/__init__.py @@ -6,4 +6,4 @@ from .scanner import HTTPZScanner from .colors import Colors -__version__ = '1.0.3' \ No newline at end of file +__version__ = '1.0.4' \ No newline at end of file diff --git a/httpz/__main__.py b/httpz/__main__.py new file mode 100644 index 0000000..0519ecb --- /dev/null +++ b/httpz/__main__.py @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/setup.py b/setup.py index 1059d5f..ec7252e 100644 --- a/setup.py +++ b/setup.py @@ -9,7 +9,7 @@ with open('README.md', 'r', encoding='utf-8') as f: setup( name='httpz-scanner', - version='1.0.3', + version='1.0.4', author='acidvegas', author_email='acid.vegas@acid.vegas', description='Hyper-fast HTTP Scraping Tool', @@ -39,4 +39,9 @@ setup( 'dnspython>=2.1.0', 'mmh3>=3.0.0', ], + entry_points={ + 'console_scripts': [ + 'httpz=httpz.__main__:main', # This creates the 'httpz' command + ], + }, ) \ No newline at end of file