✨ list log levels in CLI
This commit is contained in:
@@ -66,7 +66,7 @@ def app() -> None:
|
||||
)
|
||||
parser.add_argument('--player', default='Jamin')
|
||||
parser.add_argument('--ui', default='console', choices=entrypoints.ui.names)
|
||||
parser.add_argument('--log-level', default='ERROR')
|
||||
parser.add_argument('--log-level', default='ERROR', choices=logging.getLevelNamesMapping().keys())
|
||||
args = parser.parse_args()
|
||||
|
||||
os.makedirs('logs', exist_ok=True)
|
||||
|
||||
Reference in New Issue
Block a user