first commit

This commit is contained in:
wirehack7 2025-05-09 21:38:26 +02:00
parent 4b7fc5014c
commit 0c8c21cf47
Signed by: wirehack7
GPG Key ID: C9F4CF85BA505ADC
4 changed files with 25 additions and 0 deletions

10
novelai-sort.toml Normal file
View File

@ -0,0 +1,10 @@
[project]
name = "novelai-sort"
version = "0.1.0"
description = "Sort NovelAI PNG files based on comment"
readme = "README.md"
requires-python = ">=3.8"
dependencies = []
[project.scripts]
meinprojekt = "novelaisort.cli:main"

13
novelaisort/cli.py Normal file
View File

@ -0,0 +1,13 @@
import argparse
from .core import verarbeite_daten
def main():
parser = argparse.ArgumentParser(description="Mein cooles Tool")
parser.add_argument("text", help="Text, der verarbeitet werden soll")
args = parser.parse_args()
ergebnis = verarbeite_daten(args.text)
print(ergebnis)
if __name__ == "__main__":
main()

2
novelaisort/core.py Normal file
View File

@ -0,0 +1,2 @@
"""_summary_"""

0
tests/.empty Normal file
View File