first commit
This commit is contained in:
parent
4b7fc5014c
commit
0c8c21cf47
10
novelai-sort.toml
Normal file
10
novelai-sort.toml
Normal 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
13
novelaisort/cli.py
Normal 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
2
novelaisort/core.py
Normal file
@ -0,0 +1,2 @@
|
||||
"""_summary_"""
|
||||
|
||||
0
tests/.empty
Normal file
0
tests/.empty
Normal file
Loading…
x
Reference in New Issue
Block a user