Is the missing template generator for creating VIPER, MVC, MVVM, etc. templates for your Projects.
You find the latest build in bin/Blaupause
. Please consider that you are downlaoding this from the master branch to get the newest stable binary file from Blaupause.
Blaupause is build via spm (swift package manager) if you checkout the sources just run
swift build -c release
And you can find it in .build/release/Blaupause
to run it from there.
The usage is pretty simple just start
Blaupause viper FooBar
Blaupause mvc FooBar
Blaupause mvvm FooBar
Blaupause template FooBar
Searchs for a .blaupause.json file in the current path of Blaupause execution.
Blaupause has the ability to create your own custom templates. If you want to create your own implementation Blaupause always checks the current execution path for a .blaupause.json
file with the current implementation for a Template. Two different types are supported Folder
and Files
.
The JSON must always start with an array.
The Folder Type creates a Folder for you. Folder can hold children of different Folder and of Files.
Creating a Folder without Children
{
"type": "folder",
"name": "FolderName",
"children": null
}
Creating a Folder with Children
{
"type": "folder",
"name": "FolderName",
"children": [
{
"type": "folder",
"name": "FolderName",
"children": null
}
]
}
The Files Type creates a File for you. A File can't hold chilrens.
Creating a File
{
"type": "file",
"name": "FileName.fileEnding"
}
- Creating MVC Command
- Creating MVVM Command
- Error Handling if the Folder is already there
- JSON Parsing for template files
- Add ability to parse .blaupause.json files to create custom template that can be provided
- Support for Template Files in your own .blaupause folder
- Unit Testing
- Create a wizard when starting without options
- Publish it to Homebrew