feat(cli): Better organized CLI arg parsing

This commit is contained in:
janishutz committed 2026-05-14 17:36:06 +02:00
1 parent e24eb647ca
commit 78eecfc81a
13 files changed
+109 -46

No files matched your search

+11
View File
@@ -0,0 +1,11 @@
import argparse as ap
def add_parser(sp: ap._SubParsersAction[ap.ArgumentParser]):
init = sp.add_parser("init", help="initialize a new archmgr repository")
init.add_argument(
"--force",
"-f",
help="resets the git repository and initializes new archmgr repo",
action="store_true",
)