BDServer/modules/Help.py

23 lines
900 B
Python
Raw Normal View History

2024-11-19 13:47:45 +02:00
# AGPL 3 or any later version
# (C) J.Y.Amihud ( Blender Dumbass )
from modules.Common import *
def Help():
print(clr["bold"]+" BDServer Help Page"+clr["norm"])
print()
print(clr["tdyl"]+"--help"+clr["norm"]+" - Prints this Help Page.")
print(clr["tdyl"]+"--run"+clr["norm"]+ " - Run the server.")
print(clr["tdyl"]+"--set"+clr["norm"]+ " - Use for changing settings.")
def Set():
print(clr["bold"]+" BDServer --set Help Page"+clr["norm"])
print()
print(" --set is used for setting up server configurations.")
print()
print(clr["tdyl"]+"--title"+clr["norm"]+" - Set title of the website.")
print(clr["tdyl"]+"--port"+clr["norm"]+" - Set port where to run the website.")
print(clr["tdyl"]+"--add_tab"+clr["norm"]+" - Adds a category of articles.")
print(clr["tdyl"]+"--edit_tab"+clr["norm"]+" - Edit the config of a category.")