Skip to content

Commit 13a68c9

Browse files
authored
Merge pull request #40 from commit-0/aider
add highlight for save and build
2 parents 48ed427 + 81f69b6 commit 13a68c9

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

commit0/cli.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,8 @@ def test(
167167
@app.command()
168168
def evaluate(
169169
repo_split: str = typer.Argument(
170-
..., help=f"Split of repositories, one of {SPLIT.keys()}"
170+
...,
171+
help=f"Split of repositories, one of {', '.join(highlight(key, Colors.ORANGE) for key in SPLIT.keys())}",
171172
),
172173
branch: Union[str, None] = typer.Option(
173174
None, help="Branch to evaluate (branch MUST be provided or use --reference)"
@@ -233,7 +234,8 @@ def lint(
233234
@app.command()
234235
def save(
235236
repo_split: str = typer.Argument(
236-
..., help=f"Split of the repository, one of {SPLIT.keys()}"
237+
...,
238+
help=f"Split of the repository, one of {', '.join(highlight(key, Colors.ORANGE) for key in SPLIT.keys())}",
237239
),
238240
owner: str = typer.Argument(..., help="Owner of the repository"),
239241
branch: str = typer.Argument(..., help="Branch to save"),

0 commit comments

Comments
 (0)