readme and help text updated to show new commands

This commit is contained in:
deadvey 2025-04-12 15:35:48 +01:00
parent 40db35cf7f
commit a55ce5a390
2 changed files with 8 additions and 0 deletions

View File

@ -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.
=> 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
## Prerequisits:
* python3.12 or later (might work on other versions)
@ -28,6 +33,8 @@ python3 glogger.py
```
# TO DO
* Activity Pub support
* Newsletter support
* Add ATOM support
* Properly comment everything
* Better logging to help debug

View File

@ -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)
--help Output this help text
--rebuild Rewrite every static page in the site
--config={configuration file path} Specify the file path of the configuration
''')
exit()
if argument == "--rebuild":