Swiftpack.co - Package - CoreKit/VIPERA

VIPERA (🐍)

The most simple VIPER module generator for Swift projects.

Install

Just clone or download this repository & run:

make install

Usage

Just run:

vipera MyModule

Requirements

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

Templates

The global template is located under the ~/.vipera path. Please don't change it!

You can put your own templates under a local .viper folder inside your Xcode project.

VIPERA will use every *.swift file as a template source.

Template variables

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

License

WTFPL - Do what the fuck you want to.

Github

link
Stars: 31
Help us keep the lights on

Dependencies

Used By

Total: 1

Releases

2.0.0 - Sep 19, 2019

  • removed Xcode template support
  • local template support
  • default template is now the generic
  • better description & info

1.0.2 - May 20, 2019

  • version info (--version)
  • result info

1.0.1 - May 18, 2019

1.0.0 - May 17, 2019

  • Command line code generation
  • Xcode template support
  • 3 VIPER templates: classic, default, generic
  • Enjoy! 🐍