1
0
Fork 0
mirror of https://codeberg.org/Reuh/feather.git synced 2025-10-27 18:19:32 +00:00

fix: rename main.py to feather.py

This commit is contained in:
Étienne Fildadut 2025-10-10 13:29:33 +02:00
parent fc9abd0bc0
commit c576ed7de2
2 changed files with 4 additions and 3 deletions

View file

@ -7,4 +7,4 @@ WORKDIR /feather
COPY *.py config.default.toml LICENSE /feather/
ENTRYPOINT [ "python3", "-u", "main.py" ]
ENTRYPOINT [ "python3", "-u", "feather.py" ]

View file

@ -3,7 +3,6 @@
import os
import re
import json
import google_reader
import tomllib
import sys
import argparse
@ -15,6 +14,8 @@ from pathlib import Path
from hashlib import sha256
from jinja2 import Template
import google_reader
#%% Configuration
class Config:
@ -309,7 +310,7 @@ def clear_data(config):
def main():
parser = argparse.ArgumentParser(
prog="feather",
description="file-based RSS reader"
description="file-based RSS reader client"
)
parser.add_argument(
"action", choices=("sync", "sync-up", "sync-down", "daemon", "regenerate", "clear-data"),