mirror of
https://github.com/johndoe6345789/AutoMetabuilder.git
synced 2026-04-24 13:54:59 +00:00
- Implement core components: CLI argument parsing, environment loading, GitHub service creation, and logging configuration. - Add support for OpenAI client setup and model resolution. - Develop SDLC context loader from GitHub and repository files. - Implement workflow context and engine builders. - Introduce major workflow packages: `game_tick_loop` and `contextual_iterative_loop`. - Update localization files with new package descriptions and labels. - Streamline web navigation by loading items from a dedicated JSON file.
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()
|