1
0
Fork 0
mirror of https://codeberg.org/Reuh/feather.git synced 2025-10-28 10:39: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/ 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 os
import re import re
import json import json
import google_reader
import tomllib import tomllib
import sys import sys
import argparse import argparse
@ -15,6 +14,8 @@ from pathlib import Path
from hashlib import sha256 from hashlib import sha256
from jinja2 import Template from jinja2 import Template
import google_reader
#%% Configuration #%% Configuration
class Config: class Config:
@ -309,7 +310,7 @@ def clear_data(config):
def main(): def main():
parser = argparse.ArgumentParser( parser = argparse.ArgumentParser(
prog="feather", prog="feather",
description="file-based RSS reader" description="file-based RSS reader client"
) )
parser.add_argument( parser.add_argument(
"action", choices=("sync", "sync-up", "sync-down", "daemon", "regenerate", "clear-data"), "action", choices=("sync", "sync-up", "sync-down", "daemon", "regenerate", "clear-data"),