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 /src/__init__.py | |
parent | 6bdb959afa2c04d1054eba6f1a1a695b2061bf79 (diff) | |
download | stashley-6d1e2f05f1c81f56951a2e890115b8e8bfb37e80.tar.gz stashley-6d1e2f05f1c81f56951a2e890115b8e8bfb37e80.tar.bz2 stashley-6d1e2f05f1c81f56951a2e890115b8e8bfb37e80.zip |
skeleton of a rewrite
Diffstat (limited to 'src/__init__.py')
-rw-r--r-- | src/__init__.py | 14 |
1 files changed, 14 insertions, 0 deletions
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) + + |