Compare commits

...

2 Commits

Author SHA1 Message Date
Louis Gatin bf03862439 requirements: updated requirements 2021-07-23 23:05:24 +02:00
Louis Gatin 48d2b3333b master.py: added help command 2021-07-23 23:05:24 +02:00
2 changed files with 4 additions and 0 deletions

View File

@ -6,6 +6,7 @@ Attention, l'environnement est sous `python3`. Vérifiez que ce soit bien le cas
La liste de paquets fourni est pour Archlinux, les paquets peuvent avoir des noms légèrement différents dans votre distribution.
```
python3
python-bleach
python-email-validator
python-flask
python-flask-login
@ -16,6 +17,7 @@ python-flask-sqlalchemy
python-flask-wtf
python-itsdangerous
python-ldap
python-markdown
python-uwsgi
python-psycopg2
python-pillow

View File

@ -16,6 +16,7 @@ from PIL import Image
help_msg = """
This is the Planète Casio master shell. Type 'exit' or C-D to leave.
Type 'help' to print this message.
Listing commands:
members Show registered community members
@ -302,6 +303,7 @@ def enable_user(member):
commands = {
"exit": lambda: sys.exit(0),
"help": lambda: print(help_msg),
"members": members,
"groups": groups,
"forums": forums,