Hide password database cli

close #598
This commit is contained in:
Jim Laurie 2018-02-08 15:27:15 +01:00
parent b90239b100
commit 945af6e750

View File

@ -186,10 +186,11 @@ module.exports = (scope, cb) => {
},
{
when: !hasDatabaseConfig,
type: 'input',
type: 'password',
prefix: '',
name: 'password',
message: 'Password:',
mask: '*',
default: _.get(scope.database, 'password', undefined)
}
])