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():
|
2024-11-19 19:04:03 +02:00
|
|
|
|
|
|
|
print()
|
|
|
|
print(clr["bold"]+" BDServer Help"+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.")
|
|
|
|
print(clr["tdyl"]+"--config"+clr["norm"]+" - Edit config file directly, bypassing --set.")
|
|
|
|
print(clr["tdyl"]+"--folder"+clr["norm"]+" - Open the folder of the website's data.")
|
2024-11-19 13:47:45 +02:00
|
|
|
print()
|
|
|
|
|
|
|
|
def Set():
|
|
|
|
|
|
|
|
print()
|
2024-11-19 19:04:03 +02:00
|
|
|
print(clr["bold"]+" BDServer Set Help "+clr["norm"])
|
|
|
|
print()
|
|
|
|
print(" Set is used for setting up server configurations.")
|
2024-11-19 13:47:45 +02:00
|
|
|
print()
|
|
|
|
print(clr["tdyl"]+"--title"+clr["norm"]+" - Set title of the website.")
|
2024-11-19 19:04:03 +02:00
|
|
|
print(clr["tdyl"]+"--tagline"+clr["norm"]+" - Set tagline of the website.")
|
2024-11-19 13:47:45 +02:00
|
|
|
print(clr["tdyl"]+"--port"+clr["norm"]+" - Set port where to run the website.")
|
2024-11-19 19:04:03 +02:00
|
|
|
print(clr["tdyl"]+"--css"+clr["norm"]+" - Set a CSS file.")
|
|
|
|
print(clr["tdyl"]+"--css_edit"+clr["norm"]+" - edit a CSS file.")
|
|
|
|
print(clr["tdyl"]+"--favicon"+clr["norm"]+" - Set a favicon file.")
|
2024-11-19 13:47:45 +02:00
|
|
|
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.")
|
2024-11-19 19:04:03 +02:00
|
|
|
print()
|