Vipergen 🐍

一个用 Swift 编写的 VIPER 模块生成器。它很大程度上基于 Pedro Piñera 的 vipergen 工具,但现在已经不幸被弃用了。

安装

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

使用

使用

$ 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

卸载

$ make uninstall

构建

重新生成 xcodeproj

$ swift package generate-xcodeproj