See: New page Created Module.ts file
And take a look at:
- https://robferguson.org/blog/2017/12/31/the-future-of-the-ionic-cli/
- https://github.com/Robinyo/ionic-angular-schematics
I used ionic-angular-schematics to create the scaffolding for ‘Brew - The Craft Beer App’: https://craftbeer.org.au/