caprover-cli icon indicating copy to clipboard operation
caprover-cli copied to clipboard

Have to enter branch name twice in caprover cli

Open tschut opened this issue 6 years ago • 5 comments
trafficstars

What is the problem? Everytime I run caprover deploy I have to enter the cli asks for branch name twice. It's not a blocker or anything, just a small annoyance.

Steps to reproduce the problem: Run caprover deploy. When asked to enter the branch name, I have to 'enter' twice. Doesn't matter if I type out the branch name or accept the default. caprover-cli

Answers to the following questions where applicable: Windows 10, Node 10.13.0, happens in cmd and powershell.

tschut avatar Sep 18 '19 17:09 tschut

From the gif, it seems that the branch line is repeated, but the answer is already present after it was first entered. Anyway, I think this could be an issue caused by running the CLI with powershell/cmd, because the inquirer tool is not fully windows compatible.

Hazzard17h avatar Sep 30 '19 13:09 Hazzard17h

I see the same behaviour when running carpover deploy -t x.tar, but on the question ? are you sure you want to deploy? (Y/n)

tschut avatar Sep 30 '19 14:09 tschut

Very strange behavior...

Hazzard17h avatar Sep 30 '19 15:09 Hazzard17h

Is it possible that this is also causing caprover deploy --default to not work on Windows in cmd or powershell? It just freezes after "Ensuring authentication...", but IIRC I've used it successfully from Linux boxes.

dmwyatt avatar Jul 30 '20 22:07 dmwyatt

The issue is still present, branch name is asked twice (second time without a prompt) image

essenciary avatar May 02 '24 10:05 essenciary