aboutsummaryrefslogtreecommitdiff
path: root/labbot/__main__.py
diff options
context:
space:
mode:
authorJan200101 <sentrycraft123@gmail.com>2022-05-04 21:18:51 +0200
committerJan200101 <sentrycraft123@gmail.com>2022-05-04 21:18:51 +0200
commit087db8ae09f69dfe70e8b0c75b7ce0a5b2dca1c7 (patch)
tree1e028a625b3fccb9808e60e8a83818d65bc04e29 /labbot/__main__.py
parent7d727799af7570bd97b2d2a32dccc3c05878f69c (diff)
downloadlab-bot-087db8ae09f69dfe70e8b0c75b7ce0a5b2dca1c7.tar.gz
lab-bot-087db8ae09f69dfe70e8b0c75b7ce0a5b2dca1c7.zip
allow specifying multiple addons, convert config to json before storing
Diffstat (limited to 'labbot/__main__.py')
-rw-r--r--labbot/__main__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/labbot/__main__.py b/labbot/__main__.py
index 551f0f1..f844503 100644
--- a/labbot/__main__.py
+++ b/labbot/__main__.py
@@ -36,7 +36,7 @@ def setup(**data):
@click.argument('name')
@click.option("--access_token", required=False, help="Access Token to interact with the API")
@click.option("--secret", required=False, help="Secret to receive webhook requests (can be empty)")
-@click.option("--addons", required=False, help="List of addons to load")
+@click.option("--addons", multiple=True, required=False, help="List of addons to load")
@click.option("--addon_path", required=False, help="Path to load custom addons from")
@click.option("--print", is_flag=True, required=False, help="Print the current config with redacted values")
def config(name, **data):