JohnSundell / SwiftPlate

Easily generate cross platform Swift framework projects from the command line
MIT License
1.77k stars 88 forks source link

Template creation #61

Open artemnovichkov opened 6 years ago

artemnovichkov commented 6 years ago

I use cookiecutter and my custom template for project generation. I guess you have the same problem - it's very hand to update or create a new template. How you do it? It would be great if you add a command for template generation based on existing project. I want to write a script for it, but if you have a plan for it, I'll wait 😃

ravidsrk commented 6 years ago

@artemnovichkov I use yeoman generator for my custom template. I have node.js script which helps me to sync template. https://github.com/androidstarters/generator-kotlin-android/blob/master/generators/app/sync_template_kotlin.js#L18

artemnovichkov commented 6 years ago

Thank you for the example! And how do you create a new template? To be honest, I know JS a little and don't know Kotlin :)