An open API service indexing awesome lists of open source software.

https://github.com/che1404/vipergen

A VIPER module generation tool written in Swift
https://github.com/che1404/vipergen

command-line-tool tool viper viper-architecture viper-modules

Last synced: 4 months ago
JSON representation

A VIPER module generation tool written in Swift

Awesome Lists containing this project

README

          

# Vipergen 🐍

A VIPER module generator written in Swift. It's heavily based on [Pedro Piñera](https://twitter.com/pepibumur)'s vipergen [tool](https://github.com/pepibumur/viper-module-generator/), now sadly deprecated.

## Installation
```shell
$ git clone https://github.com/che1404/Vipergen.git vipergen
$ cd vipergen
$ make install
```

## Usage
Usage:

```shell
$ vipergen --help
Usage:

$ vipergen

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
```shell
$ make uninstall
```

## Building
Regenerate the xcodeproj
```shell
$ swift package generate-xcodeproj
```