#2533: documentation on use of dev-mode

This commit is contained in:
Czar Echavez
2024-05-01 16:04:18 +01:00
parent 5516fbc6fc
commit 61e7a4e439
4 changed files with 214 additions and 0 deletions

View File

@@ -39,6 +39,7 @@ def show():
"""Show if PrimAITE is in development mode or production mode."""
# print if dev mode is enabled
print(DEVELOPER_MODE_MESSAGE if is_dev_mode() else PRODUCTION_MODE_MESSAGE)
print(f"Current Settings: {PRIMAITE_CONFIG['developer_mode']}")
print("\nTo see available options, use [medium_turquoise]`primaite dev-mode --help`[/medium_turquoise]\n")