From 6d1e2f05f1c81f56951a2e890115b8e8bfb37e80 Mon Sep 17 00:00:00 2001 From: msglm Date: Mon, 18 Mar 2024 22:36:49 -0500 Subject: skeleton of a rewrite --- src/__init__.py | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 src/__init__.py (limited to 'src/__init__.py') 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) + + -- cgit v1.2.3