cli icon indicating copy to clipboard operation
cli copied to clipboard

Allow the cli to accpect single lined interactivity

Open jutkko opened this issue 8 years ago • 2 comments

  • This makes the prompts easier to test, e.g., if we ask for both username and password, we can now simply do printf "myName\nmyPassword\n" | myCli.

  • We don't create a new bufio.Reader each tiem we ask, hopefully it doesn't break someone's program.

  • All the tests pass! :)

jutkko avatar Feb 19 '17 12:02 jutkko

@mitchellh hi, any comments on this PR?

jutkko avatar Feb 24 '17 18:02 jutkko

@phinze hi, any comments on this?

jutkko avatar Mar 01 '17 13:03 jutkko