mirror of
https://github.com/LibreTranslate/LibreTranslate.git
synced 2025-06-20 08:01:00 +00:00
Add --disable-web-ui
This commit is contained in:
parent
f75a294aa0
commit
6b18b23b46
4 changed files with 36 additions and 21 deletions
|
@ -108,6 +108,9 @@ def main():
|
|||
parser.add_argument(
|
||||
"--disable-files-translation", default=DEFARGS['DISABLE_FILES_TRANSLATION'], action="store_true", help="Disable files translation"
|
||||
)
|
||||
parser.add_argument(
|
||||
"--disable-web-ui", default=DEFARGS['DISABLE_WEB_UI'], action="store_true", help="Disable web ui"
|
||||
)
|
||||
|
||||
args = parser.parse_args()
|
||||
app = create_app(args)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue