Skip to content
The most simple VIPER module generator for Swift projects.
Branch: master
Clone or download
Latest commit 59a1834 Mar 6, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Sources fixed capitalization & added template install option Mar 1, 2019
Templates better default template Mar 6, 2019
Tests initial Feb 28, 2019
.gitignore
LICENSE
Package.swift
README.md

README.md

VIPERA (🐍)

The most simple VIPER module generator for Swift projects.

Usage

Generate module from default template

vipera MyModule

You can put your own templates under the .viper/Templates/ path, e.g. MyTemplate, usage:

vipera MyModule MyTemplate

Template variables

You can use the following variables (in 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

Install

Just clone or download this repository & run:

swift run install --with-templates

You can update the binary only if you drop the--with-templates flag.

License

WTFPL - Do what the fuck you want to.

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.