ora.succeed('Installation succeeded. You can now continue with the configuration steps. Check out https://docs.wiki.requarks.io/install for more info.')
ora.succeed('Installation succeeded.')
returntrue
})
}else{
returnerr
}
}).then((isNewInstall)=>{
if(process.stdout.isTTY){
inquirer.prompt([{
type:'list',
name:'action',
message:'Continue with configuration wizard?',
default:'default',
choices:[
{name:'Yes, run configuration wizard on port 3000 (recommended)',value:'default',short:'Yes'},
{name:'Yes, run configuration wizard on a custom port...',value:'custom',short:'Yes'},
{name:'No, I\'ll configure the config file manually',value:'exit',short:'No'}