added cli to path

This commit is contained in:
Dionysus 2025-02-11 02:34:55 -05:00
parent 3d258e1de8
commit 1a613b005a
Signed by: acidvegas
GPG Key ID: EF4B922DB85DC9DE
3 changed files with 8 additions and 2 deletions

View File

@ -6,4 +6,4 @@ from .scanner import HTTPZScanner
from .colors import Colors from .colors import Colors
__version__ = '1.0.3' __version__ = '1.0.4'

1
httpz/__main__.py Normal file
View File

@ -0,0 +1 @@

View File

@ -9,7 +9,7 @@ with open('README.md', 'r', encoding='utf-8') as f:
setup( setup(
name='httpz-scanner', name='httpz-scanner',
version='1.0.3', version='1.0.4',
author='acidvegas', author='acidvegas',
author_email='acid.vegas@acid.vegas', author_email='acid.vegas@acid.vegas',
description='Hyper-fast HTTP Scraping Tool', description='Hyper-fast HTTP Scraping Tool',
@ -39,4 +39,9 @@ setup(
'dnspython>=2.1.0', 'dnspython>=2.1.0',
'mmh3>=3.0.0', 'mmh3>=3.0.0',
], ],
entry_points={
'console_scripts': [
'httpz=httpz.__main__:main', # This creates the 'httpz' command
],
},
) )