Add backup logic, fix logic
This commit is contained in:
parent
50d3055f8b
commit
e07a6d1743
2 changed files with 20 additions and 33 deletions
|
|
@ -107,6 +107,14 @@ def _create(parser: argparse.ArgumentParser):
|
|||
required=False,
|
||||
)
|
||||
|
||||
optional.add_argument(
|
||||
"-b",
|
||||
"--backup",
|
||||
help="Enable backups every 30 minutes to the location provided. Example: -b './mc-backups'",
|
||||
default=None,
|
||||
required=False,
|
||||
)
|
||||
|
||||
for env in SERVER_ENVS.keys():
|
||||
optional.add_argument(
|
||||
f"--{env}",
|
||||
|
|
|
|||
Loading…
Reference in a new issue