This commit is contained in:
2025-12-02 17:57:02 +01:00
parent a98599beee
commit f2a8c9ee29

View File

@@ -11,6 +11,7 @@ from tabulate import tabulate
from git import Repo # pip install gitpython from git import Repo # pip install gitpython
from port import Portainer from port import Portainer
import logging import logging
VERSION="0.0.1"
parser = argparse.ArgumentParser(description="Portainer helper - use env vars or pass credentials.") parser = argparse.ArgumentParser(description="Portainer helper - use env vars or pass credentials.")
parser.add_argument("--base", "-b", default=os.getenv("PORTAINER_URL", "https://portainer.example.com"), parser.add_argument("--base", "-b", default=os.getenv("PORTAINER_URL", "https://portainer.example.com"),
help="Base URL for Portainer (ENV: PORTAINER_URL)") help="Base URL for Portainer (ENV: PORTAINER_URL)")