Skip to content
This repository has been archived by the owner on Jul 22, 2024. It is now read-only.

Allow the cli to accpect single lined interactivity #54

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

jutkko
Copy link

@jutkko jutkko commented Feb 19, 2017

  • 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! :)

- 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
Copy link
Author

jutkko commented Feb 24, 2017

@mitchellh hi, any comments on this PR?

@jutkko
Copy link
Author

jutkko commented Mar 1, 2017

@phinze hi, any comments on this?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant