|
@@ -220,8 +220,8 @@ def print_error(msg: str) -> None:
|
220
|
220
|
|
221
|
221
|
|
222
|
222
|
@cli.group()
|
223
|
|
-@click.option("--token", required=True)
|
224
|
|
-@click.option("--endpoint", default="http://localhost:3000")
|
|
223
|
+@click.option("--token", required=True, envvar="AARDBEI_TOKEN")
|
|
224
|
+@click.option("--endpoint", default="http://localhost:3000", envvar="AARDBEI_ENDPOINT")
|
225
|
225
|
@click.pass_context
|
226
|
226
|
def aardbei(ctx, token: str, endpoint: str) -> None:
|
227
|
227
|
ctx.ensure_object(dict)
|