feat(serverlibrary): add log-level parser function to serverlibrary
This commit is contained in:
1 parent
8517884835
commit
00213a8f70
3 files changed
+11
-7
No files matched your search
@@ -1817,13 +1817,7 @@ def main():
|
||||
"-r", "--recursive", action="store_true", help="Process recursively"
|
||||
)
|
||||
|
||||
base_p.add_argument(
|
||||
"-ll",
|
||||
"--log-level",
|
||||
type=str.upper,
|
||||
default="INFO",
|
||||
choices=["TRACE", "DEBUG", "INFO", "WARNING", "ERROR", "CRITICAL"],
|
||||
)
|
||||
parser_add_loglevel()
|
||||
|
||||
base_p.add_argument(
|
||||
"--dry-run",
|
||||
|
||||
Reference in new issue
Block a user