readme and help text updated to show new commands
This commit is contained in:
parent
40db35cf7f
commit
a55ce5a390
@ -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
|
||||
|
@ -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":
|
||||
|
Loading…
x
Reference in New Issue
Block a user