From 1bc52cc68d6fc7bc9c3beefb9737c0bbe1752144 Mon Sep 17 00:00:00 2001 From: Kharec Date: Sun, 14 Dec 2025 11:13:51 +0100 Subject: [PATCH] feat: parsing arg stuffs --- main.py | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/main.py b/main.py index 472ec80..154869c 100644 --- a/main.py +++ b/main.py @@ -1,9 +1,26 @@ """Main entry point for Skywipe""" +import sys +import argparse + +from skywipe.commands import * + def main(): - print("Hello from Skywipe!") + parser = argparse.ArgumentParser( + description="Clean your bluesky account with style") + parser.add_argument( + "command", + choices=["all", "configure", "posts", + "medias", "likes", "reposts", "follows"], + help="Command to execute" + ) + args = parser.parse_args() + + if args.command == "configure": + run_configure() + if __name__ == '__main__': main()