Skip to content

feat: set --no-interaction when stdin is not a tty#245

Merged
Secrus merged 1 commit intopython-poetry:mainfrom
branchv:infer-no-interaction
Sep 2, 2022
Merged

feat: set --no-interaction when stdin is not a tty#245
Secrus merged 1 commit intopython-poetry:mainfrom
branchv:infer-no-interaction

Conversation

@branchv
Copy link
Member

@branchv branchv commented Sep 2, 2022

This infers --no-interaction when stdin is not a TTY

Before:

$ : | poetry cache clear --all .
Delete 615 entries? (yes/no) [no]
Aborted

After:

$ : | poetry cache clear --all .

Fixes #232

@Secrus Secrus merged commit aee0dae into python-poetry:main Sep 2, 2022
@branchv branchv deleted the infer-no-interaction branch September 2, 2022 13:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Default --no-interactive to on when CI=true

2 participants