3 ms·
Correct, and if stdin is not a tty it should error out instead of prompting
by dickeytk 8y ago
Correct, and if stdin is not a tty it should error out instead of prompting
- iainmerrick 8y agoThe one thing missing from the example is a little more contextual help. Not only should it prompt you for the stage, it should say “use --stage [development|staging|production] on the command line to skip this prompt” or some such. (Could be as terse as the prompt reading “please specify --stage”.)
- dickeytk 8y agoLike for the confirmation example? I agree. It would help clear this up. The points people are raising here with prompting are definitely not issues, they're just misunderstanding my point.
- jessaustin 8y agoI'm not convinced all of them have even read this perfectly understandable point.