diff options
author | msglm <msglm@techchud.xyz> | 2024-03-18 22:36:49 -0500 |
---|---|---|
committer | msglm <msglm@techchud.xyz> | 2024-03-18 22:36:49 -0500 |
commit | 6d1e2f05f1c81f56951a2e890115b8e8bfb37e80 (patch) | |
tree | 1cb432a60bb35eaabd0b6c0c4bfb698ae32d7313 | |
parent | 6bdb959afa2c04d1054eba6f1a1a695b2061bf79 (diff) | |
download | stashley-6d1e2f05f1c81f56951a2e890115b8e8bfb37e80.tar.gz stashley-6d1e2f05f1c81f56951a2e890115b8e8bfb37e80.tar.bz2 stashley-6d1e2f05f1c81f56951a2e890115b8e8bfb37e80.zip |
skeleton of a rewrite
-rw-r--r-- | setup.py | 11 | ||||
-rw-r--r-- | src/__init__.py | 14 |
2 files changed, 25 insertions, 0 deletions
diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..97abf83 --- /dev/null +++ b/setup.py @@ -0,0 +1,11 @@ +from setuptools import setup + +setup( + name='stashley', + version='2.0', + description='a program used for archiving personalities using TOML files', + author='msglm', + author_email='msglm@techchud.xyz', + packages=['src'], #same as name + install_requires=['yt-dlp', 'gallery-dl'], #external packages as dependencies + ) diff --git a/src/__init__.py b/src/__init__.py new file mode 100644 index 0000000..500b322 --- /dev/null +++ b/src/__init__.py @@ -0,0 +1,14 @@ +import tomllib +import argparse + +parser = argparse.ArgumentParser( + prog='Stashley', + description='a program used for archiving personalities using TOML files' + ) +parser.add_argument('filename', type=string, nargs=1, help="Toml file to process") + +args = parser.parse_args() + +input = tomllib.loads(args.filename) + + |