The most simple VIPER module generator for Swift projects.
Just clone or download this repository & run:
make install
Just run:
vipera MyModule
VIPER - In order to use the global template (v3.0.0)
Install via SPM
.package(url: "https://github.com/CoreKit/VIPER", from: "3.0.0")
@_exported import VIPER
The global template is located under the ~/.vipera
path. Please don't change it!
You can put your own templates under a local .vipera
folder inside your Xcode project.
VIPERA will use every *.swift
file as a template source.
You can use the following variables (in the file names too):
- module - given module name (capitalized)
- project - based on
.xcodeproj
or.xcworkspace
name - author - based on git config
- date - current date in local short format
eg. {module} -> MyModule
WTFPL - Do what the fuck you want to.