mirror of
https://github.com/LibreTranslate/LibreTranslate.git
synced 2025-06-21 16:41:08 +00:00
Add --get-api-key-link
This commit is contained in:
parent
8f8087f8ae
commit
ed68f1bcf9
6 changed files with 25 additions and 3 deletions
|
@ -95,6 +95,12 @@ def get_args():
|
|||
type=str,
|
||||
help="Use this remote endpoint to query for valid API keys instead of using the local database",
|
||||
)
|
||||
parser.add_argument(
|
||||
"--get-api-key-link",
|
||||
default=DEFARGS['GET_API_KEY_LINK'],
|
||||
type=str,
|
||||
help="Show a link in the UI where to direct users to get an API key",
|
||||
)
|
||||
parser.add_argument(
|
||||
"--require-api-key-origin",
|
||||
type=str,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue