Skip to content

Commit fd52449

Browse files
authored
Merge pull request #57 from Codeplain-ai/feat/install-fixes
Fix installer prompt when run via pipe
2 parents 07b3d77 + 712f7c8 commit fd52449

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ echo -e "${GREEN}✓${NC} the latest version of *codeplain CLI is now installed.
6161
echo ""
6262
echo -e "go to ${YELLOW}https://platform.codeplain.ai${NC} and sign up to get your API key."
6363
echo ""
64-
read -p "paste your API key here: " API_KEY
64+
read -r -p "paste your API key here: " API_KEY < /dev/tty
6565
echo ""
6666

6767
if [ -z "$API_KEY" ]; then

0 commit comments

Comments
 (0)