readme and help text updated to show new commands
This commit is contained in:
		| @@ -4,6 +4,11 @@ It is written in python and everytime a new post is made, that post is added to | |||||||
| Glogger uses this file to build a frontend with a customisable format. | Glogger uses this file to build a frontend with a customisable format. | ||||||
| => gemini://deadvey.com/gemlog Example of Glogger in action | => gemini://deadvey.com/gemlog Example of Glogger in action | ||||||
|  |  | ||||||
|  | # Command line options  | ||||||
|  | ```--help``` Shows help text | ||||||
|  | ```--rebuild``` Rewrite every static page in the site | ||||||
|  | ```--config={configuration file}``` Specifiy the file path of the configuration file, default: config.py | ||||||
|  |  | ||||||
| # Setup | # Setup | ||||||
| ## Prerequisits: | ## Prerequisits: | ||||||
| * python3.12 or later (might work on other versions) | * python3.12 or later (might work on other versions) | ||||||
| @@ -28,6 +33,8 @@ python3 glogger.py | |||||||
| ``` | ``` | ||||||
|  |  | ||||||
| # TO DO | # TO DO | ||||||
|  | * Activity Pub support | ||||||
|  | * Newsletter support | ||||||
| * Add ATOM support | * Add ATOM support | ||||||
| * Properly comment everything | * Properly comment everything | ||||||
| * Better logging to help debug | * Better logging to help debug | ||||||
|   | |||||||
| @@ -39,6 +39,7 @@ If no argument is passed, glogger will ask for a username; | |||||||
| if that user exists, it will as if you want to create a new post, or edit a post (TODO) | if that user exists, it will as if you want to create a new post, or edit a post (TODO) | ||||||
|                   --help    Output this help text |                   --help    Output this help text | ||||||
|                   --rebuild Rewrite every static page in the site |                   --rebuild Rewrite every static page in the site | ||||||
|  |                   --config={configuration file path} Specify the file path of the configuration | ||||||
|                   ''') |                   ''') | ||||||
|             exit() |             exit() | ||||||
|         if argument == "--rebuild": |         if argument == "--rebuild": | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user