Create ionic app with cli and database


#1

I was wandering if there is a way to create projects (start new project) by passing parameters in cli.
I will elaborate.
I’m thinking a sort of yeoman generator but a little bit more complex: could I have a script which will fetch data from a database and then pass it to the generator?

//database part datas = query to a database //ionic generator ionic start datas.names datas.template ... which pages would you like? datas.pages which ... and so on... ... your app has been created...
Should I build the generator myself or is there already something like that?


#2

This is an amazing idea!
+1,
though you will have to build it yourself, the cli doesn’t have this kind of option…


#3

Thanks!
I’m a little bit worried about the DIY part, because I’m a young developer but we will see what could be done. I’ll keep this topic update.