Skip to content

Commit

Permalink
Merge pull request #40 from commit-0/aider
Browse files Browse the repository at this point in the history
add highlight for save and build
  • Loading branch information
wenting-zhao authored Sep 20, 2024
2 parents 48ed427 + 81f69b6 commit 13a68c9
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions commit0/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,8 @@ def test(
@app.command()
def evaluate(
repo_split: str = typer.Argument(
..., help=f"Split of repositories, one of {SPLIT.keys()}"
...,
help=f"Split of repositories, one of {', '.join(highlight(key, Colors.ORANGE) for key in SPLIT.keys())}",
),
branch: Union[str, None] = typer.Option(
None, help="Branch to evaluate (branch MUST be provided or use --reference)"
Expand Down Expand Up @@ -233,7 +234,8 @@ def lint(
@app.command()
def save(
repo_split: str = typer.Argument(
..., help=f"Split of the repository, one of {SPLIT.keys()}"
...,
help=f"Split of the repository, one of {', '.join(highlight(key, Colors.ORANGE) for key in SPLIT.keys())}",
),
owner: str = typer.Argument(..., help="Owner of the repository"),
branch: str = typer.Argument(..., help="Branch to save"),
Expand Down

0 comments on commit 13a68c9

Please sign in to comment.