We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4626bbb commit e251135Copy full SHA for e251135
ctfcli/core/config.py
@@ -11,7 +11,8 @@
11
12
class Config:
13
_env_vars = {
14
- "CTFD_TOKEN": "access_token",
+ "CTFCLI_ACCESS_TOKEN": "access_token",
15
+ "CTFCLI_URL": "url",
16
}
17
18
def __init__(self):
ctfcli/core/exceptions.py
@@ -6,7 +6,7 @@
6
class MissingAPIKey(Exception):
7
def __str__(self):
8
return (
9
- "Missing API key. Please set the API key in your configuration file or set CTFD_TOKEN environment variable."
+ "Missing API key. Please set the API key in your configuration file or set CTFCLI_ACCESS_TOKEN environment variable."
10
)
0 commit comments