Skip to content

Commit

Permalink
Prompt for API key if not specified via option or env var
Browse files Browse the repository at this point in the history
Resolves #13
  • Loading branch information
mprpic committed Dec 15, 2021
1 parent b858bcc commit f5db6fa
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cvelib/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,8 @@ def init_cve_api(self):
envvar="CVE_API_KEY",
required=True,
help="Your API key (env var: CVE_API_KEY)",
prompt="API key",
hide_input=True,
)
@click.option(
"-e",
Expand Down

0 comments on commit f5db6fa

Please sign in to comment.