mirror of
https://codeberg.org/Reuh/feather.git
synced 2025-10-27 10:09:32 +00:00
fix: rename main.py to feather.py
This commit is contained in:
parent
fc9abd0bc0
commit
c576ed7de2
2 changed files with 4 additions and 3 deletions
|
|
@ -7,4 +7,4 @@ WORKDIR /feather
|
|||
|
||||
COPY *.py config.default.toml LICENSE /feather/
|
||||
|
||||
ENTRYPOINT [ "python3", "-u", "main.py" ]
|
||||
ENTRYPOINT [ "python3", "-u", "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"),
|
||||
Loading…
Add table
Add a link
Reference in a new issue