Skip to content

Commit cff6a30

Browse files
mashraf-222misrasaurabh1KRRT7
authored
Enhance CLI init GitHub app installation prompt visibility with ENTER in caps and >>> indicator (#941)
* change the prompt suffix to be >>> and the prompt for github app broswer installation * Update codeflash/cli_cmds/cmd_init.py Co-authored-by: Saurabh Misra <misra.saurabh1@gmail.com> * update the requested another prompts * typo fix * Update codeflash/cli_cmds/cmd_init.py Co-authored-by: Saurabh Misra <misra.saurabh1@gmail.com> * Update codeflash/cli_cmds/cmd_init.py Co-authored-by: Saurabh Misra <misra.saurabh1@gmail.com> --------- Co-authored-by: Saurabh Misra <misra.saurabh1@gmail.com> Co-authored-by: Kevin Turcios <106575910+KRRT7@users.noreply.github.com>
1 parent 63b6e77 commit cff6a30

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

codeflash/cli_cmds/cmd_init.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1118,18 +1118,18 @@ def install_github_app(git_remote: str) -> None:
11181118
click.prompt(
11191119
f"Finally, you'll need to install the Codeflash GitHub app by choosing the repository you want to install Codeflash on.{LF}"
11201120
f"I will attempt to open the github app page - https://github.com/apps/codeflash-ai/installations/select_target {LF}"
1121-
f"Press Enter to open the page to let you install the app…{LF}",
1121+
f"Please, press ENTER to open the app installation page{LF}",
11221122
default="",
11231123
type=click.STRING,
1124-
prompt_suffix="",
1124+
prompt_suffix=">>> ",
11251125
show_default=False,
11261126
)
11271127
click.launch("https://github.com/apps/codeflash-ai/installations/select_target")
11281128
click.prompt(
1129-
f"Press Enter once you've finished installing the github app from https://github.com/apps/codeflash-ai/installations/select_target{LF}",
1129+
f"Please, press ENTER once you've finished installing the github app from https://github.com/apps/codeflash-ai/installations/select_target{LF}",
11301130
default="",
11311131
type=click.STRING,
1132-
prompt_suffix="",
1132+
prompt_suffix=">>> ",
11331133
show_default=False,
11341134
)
11351135

@@ -1145,10 +1145,10 @@ def install_github_app(git_remote: str) -> None:
11451145
click.prompt(
11461146
f"❌ It looks like the Codeflash GitHub App is not installed on the repository {owner}/{repo}.{LF}"
11471147
f"Please install it from https://github.com/apps/codeflash-ai/installations/select_target {LF}"
1148-
f"Press Enter to continue once you've finished installing the github app…{LF}",
1148+
f"Please, press ENTER to continue once you've finished installing the github app…{LF}",
11491149
default="",
11501150
type=click.STRING,
1151-
prompt_suffix="",
1151+
prompt_suffix=">>> ",
11521152
show_default=False,
11531153
)
11541154
count -= 1

0 commit comments

Comments
 (0)