diff --git a/Dockerfile b/Dockerfile index 3aed8ca..a89cf98 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,4 +7,4 @@ WORKDIR /feather COPY *.py config.default.toml LICENSE /feather/ -ENTRYPOINT [ "python3", "-u", "main.py" ] +ENTRYPOINT [ "python3", "-u", "feather.py" ] diff --git a/main.py b/feather.py similarity index 99% rename from main.py rename to feather.py index 8340604..12fa8cb 100755 --- a/main.py +++ b/feather.py @@ -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"),