-
Notifications
You must be signed in to change notification settings - Fork 9
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
Feature: Add CLI params for authentication #12
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good 👍
@andreialecu can you also review it?
package.json
Outdated
@@ -1,6 +1,6 @@ | |||
{ | |||
"name": "deployd-cli", | |||
"version": "2.0.0", | |||
"version": "0.0.2", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please, keep version 2.0.0
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok got it
lib/cli/start.js
Outdated
password = auth[1]; | ||
setCredentials(username, password); | ||
} else if (program.username || program.password) { | ||
console.log(' program.password', program.password) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do not output the password in the logs
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
great catch. I'll remove this line, was for test
lib/cli/start.js
Outdated
); | ||
|
||
|
||
// Added by PV |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what does that mean?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
just note that where I made the change
added dpd.config to set dpd configurations to comply naming convention , that will replace app.dpd
.travis.yml
Outdated
@@ -0,0 +1,3 @@ | |||
language: node_js |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can you use the same as deployd
?
https://github.com/deployd/deployd/blob/master/.travis.yml
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok. Done.
.travis.yml
Outdated
- "6" | ||
- "5" | ||
- "4" | ||
- "0.12" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it needs a tab (you can validate your travis.yml here: http://lint.travis-ci.org/)
@moorthi07 Thanks a lot for your contribution 🎉 |
Right back at you! thx. |
Issue #7 dpd start with mongodb authentication fixed
Issue #8 version no. in package.json fixed.
Issue #4 Keygen works as expected.