hetical-forensic/core/connect/prompt.js

16 lines
323 B
JavaScript

const { prompt } = require('enquirer');
export const promptAction = () => {
return prompt([
{
type: 'input',
name: 'email',
message: 'Email'
},
{
type: 'password',
name: 'password',
message: 'Password'
}
]);
};