Files
traefik-helper/src/command/impl/restartCommand.py
Liam 9ca94d0e05
All checks were successful
Publish Docker Image / docker (push) Successful in 1m5s
fix missing usage
2024-04-17 02:31:19 +01:00

10 lines
323 B
Python

from command.command import Command
from traefik.traefikConfig import TraefikConfig
from utils.dockerUtils import restartTraefik
class RestartCommand(Command):
def __init__(self):
super().__init__("restart", "Restart traefik", "restart")
def execute(self, traefikConfig: TraefikConfig, args):
restartTraefik()