Skip to content
This repository has been archived by the owner on Feb 21, 2023. It is now read-only.

Add interactive password input #40

Merged
merged 5 commits into from
Aug 27, 2017
Merged

Conversation

svagner
Copy link

@svagner svagner commented Aug 26, 2017

Interactive input password can be very convenient and more secure:)

Copy link
Contributor

@shlomi-noach shlomi-noach left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you! Looking good. Request for argument name change.

@@ -35,6 +37,7 @@ func main() {
help := flag.Bool("help", false, "Display usage")
user := flag.String("u", osUser, "MySQL username")
password := flag.String("p", "", "MySQL password")
askPassword := flag.Bool("P", false, "Ask mySQL password")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we please change argument to ask-pass? This will make it compatible with gh-ost and with Percona Toolkit.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure. Will change arg

@shlomi-noach
Copy link
Contributor

Long overdue opportunity to set up TravisCI for this repo, adding public visibility into CI

@shlomi-noach
Copy link
Contributor

Added golang.org/x/crypto/ssh/terminal dependency to make this build pass

@shlomi-noach shlomi-noach merged commit 2b6d80f into github:master Aug 27, 2017
@shlomi-noach
Copy link
Contributor

Thank you

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.

2 participants