This commit is contained in:
2025-12-02 17:57:23 +01:00
parent d8283aa281
commit 60d9b8e1c8

View File

@@ -12,6 +12,7 @@ from git import Repo # pip install gitpython
from port import Portainer
import logging
VERSION="0.0.1"
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"),
help="Base URL for Portainer (ENV: PORTAINER_URL)")