Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OPS-3261 skip interactive prompt in automation #88

Conversation

crunis
Copy link
Contributor

@crunis crunis commented Aug 23, 2016

if gets return nil, it means stdin is closed or its source ended (if we were piping from another process or file). This means we are probably in an automated environment, so we pause like we do with "--no-prompt" switch

@crunis crunis force-pushed the OPS-3261_skip_interactive_prompts_in_non_interactive_scenarios branch 3 times, most recently from a8eaaa3 to 57b5fb7 Compare August 23, 2016 17:46
@crunis crunis force-pushed the OPS-3261_skip_interactive_prompts_in_non_interactive_scenarios branch from 57b5fb7 to f03636c Compare August 23, 2016 17:47
@netguino
Copy link
Contributor

lgtm

@netguino netguino merged commit 650cb38 into master Aug 23, 2016
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.

None yet

2 participants