Coder Social home page Coder Social logo

pui's Introduction

Pui

テンプレートフォルダからコンポーネントを生成するライブラリです

(A library to generate components from template folders)

Kuriを参考にしました

(Based on Kuri)

Support Default Architecture

デフォルトで対応しているアーキテクチャです。

(This is the architecture that is supported by default.)

iOS

MVC, MVP, MVVM, VIPER, VIEW

※VIEWはXibとswiftのソースコードが生成されます。

How To Use

Setup Template File

pui template [--ios] --mvc/--mvp/--mvvm/--viper/--view

./templates/PuiTemplate/ios/にテンプレートファイルが生成されます

(. /templates/PuiTemplate/ios/ will generate the template file)

Setup Yaml File

pui yaml [--ios] --mvc/--mvp/--mvvm/--viper/--view

pui template [--ios] --mvc/--mvp/--mvvm/--viper/--view で生成したテンプレートを利用するための設定ファイルである./Pui.ymlが生成されます

(pui template [--ios] --mvc/--mvp/--mvvm/--viper/--view will generate a configuration file, . /Pui.yml will be generated)

Generate Component

Use Default Pui.yml

pui component <TemplateDirName> <ComponentName>

Pui.yml内の<TemplateDirName>キーの設定を読み込み<ComponentName>としてファイルが生成されます

(The file will be generated as <ComponentName> reading the settings of the <TemplateDirName> key in Pui.yml. )

Customize

自作のテンプレートファイルを用意してPui.ymlを編集することで自作のテンプレートファイルからコンポーネントを生成できます

(Prepare your own template file and edit Pui.yml to generate components from your own template file.)

Installation

Mint (Recommended)

Mint is a package manager for created by swift package manager executable libraries.

$ mint install sakiyamaK/Pui

pui's People

Contributors

sakiyamak avatar

Stargazers

 avatar Hajime Taniguchi avatar

Watchers

James Cloos avatar  avatar  avatar

pui's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.