From 6ea4675d0e1812f4b55d7043d6a1b36a09c1a26f Mon Sep 17 00:00:00 2001 From: Jon Michael Aanes Date: Mon, 3 Jun 2024 22:42:05 +0200 Subject: [PATCH] Initial --- git_time_tracker/__init__.py | 16 ++++++++++++++++ git_time_tracker/_version.py | 1 + 2 files changed, 17 insertions(+) create mode 100644 git_time_tracker/__init__.py create mode 100644 git_time_tracker/_version.py diff --git a/git_time_tracker/__init__.py b/git_time_tracker/__init__.py new file mode 100644 index 0000000..dea667f --- /dev/null +++ b/git_time_tracker/__init__.py @@ -0,0 +1,16 @@ +import argparse + + +def parse_arguments(): + parser = argparse.ArgumentParser() + parser.add_argument("repo") + return parser.parse_args() + + +def main(): + args = parse_arguments() + print(args.repo) + + +if __name__ == "__main__": + main() diff --git a/git_time_tracker/_version.py b/git_time_tracker/_version.py new file mode 100644 index 0000000..3dc1f76 --- /dev/null +++ b/git_time_tracker/_version.py @@ -0,0 +1 @@ +__version__ = "0.1.0"