12 lines
328 B
Python
12 lines
328 B
Python
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",
|
|
)
|