Skip to content

Swiftly installation should check for a tty and not prompt for confirmation if there isn't one #382

@jakepetroules

Description

@jakepetroules

The Swift installation instructions on swift.org contain the following:

./swiftly init --quiet-shell-followup

However, when run in environments where there is no tty (like a Docker container), it still prompts for confirmation. We should detect that there's no tty and continue anyways, so that the same instructions for installation work both for interactive and non-interactive use cases.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions