Have to enter branch name twice in caprover cli

Open
#40 5 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
45/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
typescript
Domain
cli

Research direction

Start by running caprover deploy on Windows 10 in both cmd and PowerShell, then trace the branch-name prompt from the CLI entry point. Done means the branch name is accepted after one Enter, whether the default is used or a name is typed.

Written by the indexing model from the issue text.

Description

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.

Dominant language
TypeScript
Stars
78
Forks
43
PR merge metrics
No merged PRs in 30d

Getting set up

  • Ships a Dockerfile or Docker Compose file
  • Has a pull request template
  • No contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from caprover/caprover-cli

All issues in caprover/caprover-cli

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.