mirror of
https://framagit.org/framasoft/framaspace/argos.git
synced 2025-04-29 02:12:37 +02:00
✨ — Allow to use env vars for agent’s token and server URL. Fix #13
Avoid to leak the token in `htop` for ex.
This commit is contained in:
parent
e652659fb6
commit
fd6fdfefa9
1 changed files with 2 additions and 2 deletions
|
@ -18,8 +18,8 @@ def server():
|
||||||
|
|
||||||
|
|
||||||
@cli.command()
|
@cli.command()
|
||||||
@click.argument("server")
|
@click.argument("server", envvar="ARGOS_AGENT_SERVER_URL")
|
||||||
@click.argument("auth")
|
@click.argument("auth", envvar="ARGOS_AGENT_TOKEN")
|
||||||
@click.option(
|
@click.option(
|
||||||
"--max-tasks",
|
"--max-tasks",
|
||||||
default=10,
|
default=10,
|
||||||
|
|
Loading…
Reference in a new issue