This commit is contained in:
eneller
2025-04-16 17:27:36 +02:00
parent 0091607cb8
commit 3e8060e075
2 changed files with 6 additions and 4 deletions

View File

@@ -22,13 +22,12 @@ Usage: uulm [OPTIONS] COMMAND [ARGS]...
reasons.
- using environment variables `UULM_USERNAME`, `UULM_PASSWORD`
- using a `.env` file in the current working directory with the same variables
- using a `.env` file in the current working directory with the same variables
- interactive mode, if none of the above were specified
For help concerning specific commands, run `uulm <COMMAND> --help`
Options:
-u, --username TEXT
-p, --password TEXT
-h, --headless Dont show the browser window
-d, --debug Set the log level to DEBUG
-l, --log-level [CRITICAL|FATAL|ERROR|WARN|WARNING|INFO|DEBUG|NOTSET]
--help Show this message and exit.

View File

@@ -52,6 +52,9 @@ async def cli(debug, log_level):
- using environment variables `UULM_USERNAME`, `UULM_PASSWORD`
- using a `.env` file in the current working directory with the same variables
- interactive mode, if none of the above were specified
\b
For help concerning specific commands, run `uulm <COMMAND> --help`
'''
logging.basicConfig(level=log_level,format='%(asctime)s - %(levelname)s - %(message)s')
if(debug): logger.setLevel(logging.DEBUG)