Skip to content

Confirm questions should wait for input on the same line #152

@akalipetis

Description

@akalipetis

Currently, all confirm questions wait for the y/N input at the following line. Should we wait for input on the same line like the rest?

Examples:

You are reconfiguring the project at /Users/akalipetis/Developer/github.com/platformsh/platformify.
The following Upsun (Staging) files already exist in this directory:
  - .environment
  - .upsun/config.yaml
Do you want to overwrite them? (y/N)
[cursor]

Suggestion:

You are reconfiguring the project at /Users/akalipetis/Developer/github.com/platformsh/platformify.
The following Upsun (Staging) files already exist in this directory:
  - .environment
  - .upsun/config.yaml
Do you want to overwrite them? (y/N) [cursor]

Example of a text question:

Tell us your project name: [platformify] [cursor]

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions