Metadata-Version: 2.1
Name: horn-py
Version: 0.3.2
Summary: A Flask scaffolding tool
Home-page: UNKNOWN
Author: bigfang
Author-email: bitair@gmail.com
License: MIT
Keywords: flask scaffolding
Platform: UNKNOWN
Classifier: Topic :: Utilities
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: License :: OSI Approved :: MIT License
Description-Content-Type: text/markdown
Requires-Dist: docopt (>=0.6)
Requires-Dist: toml (>=0.10.0)
Requires-Dist: inflection (>=0.3.1)
Requires-Dist: pampy (>=0.2.1)
Requires-Dist: copier (==2.3.3)


# ![flask](chili.png)  Horn: A Flask scaffolding tool

[![PyPI - License](https://img.shields.io/pypi/l/horn-py.svg)](https://pypi.org/project/horn-py)
[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/horn-py.svg)](https://pypi.org/project/horn-py)
[![PyPI](https://img.shields.io/pypi/v/horn-py.svg)](https://pypi.org/project/horn-py)
[![PyPI - Wheel](https://img.shields.io/pypi/wheel/horn-py.svg)](https://pypi.org/project/horn-py)


## Installation

```console
$ pip install horn-py
```


## Usage

```text

Usage:
  horn new <target> [--app=<app> --proj=<proj> --pypi=<pypi> --bare]
  horn new <target> <from> [<checkout>] [--json=<json>] [-f=PATH | --file=PATH]
  horn gen api <module> <table> <fields>...
  horn gen model <module> <table> <fields>...
  horn gen schema <module> (<fields>... | --model=<model> | <fields>...  --model=<model>)
  horn (-h | --help)
  horn --version

Options:
  --app=<app>               App name [default: app].
  --proj=<proj>             Project name.
  --pypi=<pypi>             Pypi domain [default: pypi.org].
  --bare                    Bare project.

  --json=<json>             Json string [default: {}].
  -f=PATH, --file=PATH      Json file PATH.

  --model=<model>           Schema baseed on model.

  -h, --help                Show this screen.
  --version                 Show version.

```


