mirror of
https://github.com/johndoe6345789/AutoMetabuilder.git
synced 2026-05-07 03:59:38 +00:00
f395031366
Co-authored-by: johndoe6345789 <224850594+johndoe6345789@users.noreply.github.com>
25 lines
705 B
Python
25 lines
705 B
Python
"""CLI argument parsing."""
|
|
import argparse
|
|
|
|
|
|
def parse_args():
|
|
"""Parse CLI arguments."""
|
|
parser = argparse.ArgumentParser(description="AutoMetabuilder: AI-driven SDLC assistant.")
|
|
parser.add_argument(
|
|
"--dry-run",
|
|
action="store_true",
|
|
help="Do not execute state-modifying tools."
|
|
)
|
|
parser.add_argument(
|
|
"--yolo",
|
|
action="store_true",
|
|
help="Execute tools without confirmation."
|
|
)
|
|
parser.add_argument(
|
|
"--once",
|
|
action="store_true",
|
|
help="Run a single full iteration (AI -> Tool -> AI)."
|
|
)
|
|
parser.add_argument("--web", action="store_true", help="Start the Web UI.")
|
|
return parser.parse_args()
|