mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-05-02 12:22:39 +02:00
feat: merge geekan:cli-etc
This commit is contained in:
parent
7b44fccf8d
commit
94043a89f4
3 changed files with 14 additions and 17 deletions
|
|
@ -12,17 +12,18 @@ app = typer.Typer()
|
|||
@app.command()
|
||||
def startup(
|
||||
idea: str = typer.Argument(..., help="Your innovative idea, such as 'Create a 2048 game.'"),
|
||||
investment: float = typer.Option(3.0, help="Dollar amount to invest in the AI company."),
|
||||
n_round: int = typer.Option(5, help="Number of rounds for the simulation."),
|
||||
code_review: bool = typer.Option(True, help="Whether to use code review."),
|
||||
run_tests: bool = typer.Option(False, help="Whether to enable QA for adding & running tests."),
|
||||
implement: bool = typer.Option(True, help="Enable or disable code implementation."),
|
||||
project_name: str = typer.Option("", help="Unique project name, such as 'game_2048'."),
|
||||
inc: bool = typer.Option(False, help="Incremental mode. Use it to coop with existing repo."),
|
||||
investment: float = typer.Option(default=3.0, help="Dollar amount to invest in the AI company."),
|
||||
n_round: int = typer.Option(default=5, help="Number of rounds for the simulation."),
|
||||
code_review: bool = typer.Option(default=True, help="Whether to use code review."),
|
||||
run_tests: bool = typer.Option(default=False, help="Whether to enable QA for adding & running tests."),
|
||||
implement: bool = typer.Option(default=True, help="Enable or disable code implementation."),
|
||||
project_name: str = typer.Option(default="", help="Unique project name, such as 'game_2048'."),
|
||||
inc: bool = typer.Option(default=False, help="Incremental mode. Use it to coop with existing repo."),
|
||||
project_path: str = typer.Option(
|
||||
help="Specify the directory path of the old version project to fulfill the " "incremental requirements."
|
||||
default="",
|
||||
help="Specify the directory path of the old version project to fulfill the " "incremental requirements.",
|
||||
),
|
||||
reqa_file: str = typer.Option(help="Specify the source file name for rewriting the quality test code."),
|
||||
reqa_file: str = typer.Option(default="", help="Specify the source file name for rewriting the quality test code."),
|
||||
):
|
||||
"""Run a startup. Be a boss."""
|
||||
from metagpt.roles import (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue