[feat] [s]: main workflow exec workflow
This commit is contained in:
@@ -71,6 +71,21 @@ program.name(package.name)
|
|||||||
* createApp()
|
* createApp()
|
||||||
* .then(installDependencies)
|
* .then(installDependencies)
|
||||||
* .then(renameFiles)
|
* .then(renameFiles)
|
||||||
|
* .then(accessFolder)
|
||||||
* .then(checkUpdated)
|
* .then(checkUpdated)
|
||||||
*/
|
*/
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//Main CLI execution workflow
|
||||||
|
run()
|
||||||
|
.then(`${chalk.greenBright('Project Installed Sucess')}`)
|
||||||
|
.catch(error => {
|
||||||
|
if(error.command){
|
||||||
|
console.log(`${chalk.cyan('Error on Create App')}`)
|
||||||
|
}else{
|
||||||
|
console.log(`${chalk.red('Unexpected Erro. Please report it as a bug')}`)
|
||||||
|
console.log(error)
|
||||||
|
}
|
||||||
|
console.log()
|
||||||
|
process.exit(1)
|
||||||
|
})
|
||||||
Reference in New Issue
Block a user