Renovate the module system and implement adding and resuming pool instances using the new relay/alias/network system
This commit is contained in:
@@ -5,8 +5,8 @@ from io import StringIO
|
||||
from yaml import dump
|
||||
|
||||
class Mon:
|
||||
def __init__(self, register):
|
||||
register("mon", self.mon)
|
||||
def __init__(self, *args):
|
||||
self.mon(*args)
|
||||
|
||||
def setup_arguments(self, ArgumentParser):
|
||||
self.parser = ArgumentParser(prog="mon", description="Manage monitors. Extremely flexible. All arguments are optional.")
|
||||
|
||||
Reference in New Issue
Block a user