mirror of
https://github.com/alexbosworth/balanceofsatoshis.git
synced 2026-08-13 12:33:37 +02:00
14 lines
279 B
JavaScript
14 lines
279 B
JavaScript
/** Get ask function
|
|
|
|
{}
|
|
|
|
@returns
|
|
<Interrogation Function>
|
|
*/
|
|
module.exports = ({}) => {
|
|
return new Promise(async resolve => {
|
|
const inquirer = (await import('inquirer')).default;
|
|
|
|
return resolve((n, cbk) => inquirer.prompt([n]).then(res => cbk(res)));
|
|
});
|
|
};
|