Skip to content

A VIPER module generation tool written in Swift

Notifications You must be signed in to change notification settings

che1404/Vipergen

Repository files navigation

Vipergen 🐍

A VIPER module generator written in Swift. It's heavily based on Pedro Piñera's vipergen tool, now sadly deprecated.

Installation

$ git clone https://github.com/che1404/Vipergen.git vipergen
$ cd vipergen
$ make install

Usage

Usage:

$ vipergen --help
Usage:

    $ vipergen <module name>

Arguments:

    module name - The name of the module

Options:
    --template [default: default] - The template (Should exist in the Templates directory)
    --creator [default: John Doe] - The name of the creator
    --output [default: .] - The output directory

Uninstallation

$ make uninstall

Building

Regenerate the xcodeproj

$ swift package generate-xcodeproj