diff --git a/src/sshare/__main__.py b/src/sshare/__main__.py new file mode 100644 index 0000000..2ae67cd --- /dev/null +++ b/src/sshare/__main__.py @@ -0,0 +1,17 @@ +# This file is part of SSHare. +# +# SSHare is free software: you can redistribute it and/or modify it under the terms of +# the GNU General Public License as published by the Free Software Foundation, +# either version 3 of the License, or (at your option) any later version. +# +# SSHare is distributed in the hope that it will be useful, but WITHOUT ANY +# WARRANTY; without even the implied warranty of MERCHANTABILITY +# or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for +# more details. +# +# You should have received a copy of the GNU General Public License along with +# SSHare. If not, see . + +from main import main + +main() diff --git a/src/sshare/main.py b/src/sshare/main.py index 3df6f07..a717ac2 100644 --- a/src/sshare/main.py +++ b/src/sshare/main.py @@ -24,13 +24,12 @@ import tomllib import subprocess import sys from pathlib import Path +from sshare.version import version from sshare.plugins.config import Flag from sshare.plugins.config import NoArgument from sshare.plugins.config import NoDefault -from sshare.version import version - class Congloggerate: def __init__(self, loggers): def info(message):