This generator aims to initialize iOS and Android native projects (hybrid mobile projects coming soon) through Command Line Interface.
This project aims to initialize mobile project by following guidelines provided by constructor and frameworks.
This will allow you to quickly integrate an application according to your guidelines. You can unify your different mobile projects by applying the same rules everywhere.
The best way to get started is to install our npm package.
$ npm i @mobile-generator/mobile-generator
If you want more in-depth information about mobile generator, read the wiki.
Are you missing a feature? Open an issue!
This command will prompt you questions. Once you answered all of them it will generate the corresponding project
$ mobile-generator interactive
This command will is the same as the interactive one except that you need to provide your answer as arguments/flags. This will allow you to integrate to your CLI.
$ mobile-generator create android my-app com.mycompany --android_min_sdk=21 --android_target_sdk=29 --android_template=drawer --internet_permission
$ mobile-generator create ios my-app com.mycompany --ios_min_sdk=12.2 --ios_template=tabbar --internet_permission
$ mobile-generator create flutter my-app com.mycompany
A separate repository contains examples. Go to github.com/mobile-generator/examples to give them a try.
Mobile-generator is developed completely in the open, and your contributions are more than welcome. It's still a very new project, so I'm sure there are bugs to be found and improvements to be made - and hopefully we can work on those together as a community.