mirror of
https://framagit.org/framasoft/framaspace/argos.git
synced 2025-04-28 18:02:41 +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()
|
||||
@click.argument("server")
|
||||
@click.argument("auth")
|
||||
@click.argument("server", envvar="ARGOS_AGENT_SERVER_URL")
|
||||
@click.argument("auth", envvar="ARGOS_AGENT_TOKEN")
|
||||
@click.option(
|
||||
"--max-tasks",
|
||||
default=10,
|
||||
|
|
Loading…
Reference in a new issue