Skip to content

Commit e84675a

Browse files
Merge pull request #4 from ForceFledgling/dev
add: ability to use it via terminal
2 parents 08bfb85 + f1578d8 commit e84675a

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

proxyhub/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
__title__ = 'proxyhub'
1818
__package__ = 'proxyhub'
19-
__version__ = '0.0.1a1'
19+
__version__ = '0.0.1a2'
2020
__short_description__ = 'An advanced [Finder | Checker | Server] tool for proxy servers, supporting both HTTP(S) and SOCKS protocols.'
2121
__author__ = 'ForceFledgling'
2222
__author_email__ = '[email protected]'

py2exe_entrypoint.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
import proxyhub.cli as proxyhub_cli
2+
proxyhub_cli.cli()

pyproject.toml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
[tool.poetry]
33
name = "proxyhub"
4-
version = "0.0.1-alpha1"
4+
version = "0.0.1-alpha2"
55
description = "An advanced [Finder | Checker | Server] tool for proxy servers, supporting both HTTP(S) and SOCKS protocols."
66
authors = ["ForceFledgling - Din Grogu <[email protected]>"]
77
repository = "https://github.com/ForceFledgling/proxyhub"
@@ -53,6 +53,9 @@ pytest-cov = "^3.0.0"
5353
requires = ["poetry-core>=1.0.0"]
5454
build-backend = "poetry.core.masonry.api"
5555

56+
[tool.poetry.scripts]
57+
proxyhub = "proxyhub.cli:cli"
58+
5659
[tool.black]
5760
py36 = true
5861
line-length = 88

0 commit comments

Comments
 (0)