Metadata-Version: 2.1
Name: mpa-gen
Version: 0.2
Summary: Simple generator for Go multi-page site
Home-page: https://github.com/reddec/mpa-gen
Author: Baryshnikov Aleksandr (reddec)
Author-email: owner@reddec.net
License: UNKNOWN
Description: # map-gen
        
        [![PyPI version](https://badge.fury.io/py/mpa-gen.svg)](https://badge.fury.io/py/mpa-gen)
        [![GitHub license](https://img.shields.io/github/license/reddec/mpa-gen)](https://github.com/reddec/mpa-gen/blob/master/LICENSE)
        
        Generates directories and files for multi-page
        site with backend on Go (gin).
        
        
        
        Generates:
        
        - layouts
        - views (page templates)
        - controller stub with in/out params parsing
        - utils for bootstrap
        
        Requirements:
        
        - Jinja2
        - Python3.4+ (actually could run even on lower version but I didn't test)
        
        ## Installation
        
        `pip install mpa-gen`
        
        ## Usage
        
        ```
        usage: mpa-gen [-h] [--dir DIR] [--method METHOD] section name
        
        multi-page site generator
        
        positional arguments:
          section          Section name (ex: user/messages)
          name             Resource name (ex: dialog)
        
        optional arguments:
          -h, --help       show this help message and exit
          --dir DIR        Root directory
          --method METHOD  HTTP method: GET or POST
        
        ```
        
        - default method: `GET`
        - default directory: current working dir
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3.4
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Topic :: Utilities
Description-Content-Type: text/markdown
