mirror of
https://gitlab.sectorq.eu/jaydee/portainer.git
synced 2025-12-14 18:44:53 +01:00
build
This commit is contained in:
@@ -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)")
|
||||||
|
|||||||
Reference in New Issue
Block a user