This commit is contained in:
2025-12-02 17:58:45 +01:00
parent f654a483ea
commit 54790febd2

View File

@@ -13,6 +13,7 @@ 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)")