mirror of
https://framagit.org/framasoft/framaspace/argos.git
synced 2025-04-28 18:02:41 +02:00
Merge branch 'fix-13' into 'main'
✨ — Allow to use env vars for agent’s token and server URL. Fix #13 Closes #13 See merge request framasoft/framaspace/argos!9
This commit is contained in:
commit
eaff5e8989
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