Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
A little code generation tool.
Shell JavaScript Other
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
debian
skel
.gitignore
Makefile.am
Makefile.in
README.md
aclocal.m4
autogen.sh
config.guess
config.sub
configure
configure.ac
gener.in
install-sh
missing
sample-config

README.md

gener

A little code generation tool.

Status

Alpha.

Overview

A generalized code generation tool written in Python.

This was originally a little hack for bootstrapping Flask applications.

Prerequisites

  • Python 2.{6,7}
  • Flask 0.8 (optional -- required for flask:bootstrap)

Installation

Debian/Ubuntu/LMDE

wget http://tomlee.co/projects/gener/gener_0.1.0-1_all.deb

dpkg -i gener_0.1.0-1_all.deb

Everybody else

git clone git://github.com/thomaslee/gener.git

cd gener

./configure --prefix=/usr/local && make && make install

Usage

gener <app-type> <app-name>

Example:

#
# Generates a new Flask application called 'myapp'
#
gener flask-app myapp

#
# Generates a new Flask application with jQuery and Twitter Bootstrap
#
gener flask-bootstrap myapp

License

This software is licensed under the terms of the GPL v3 License.

Support

Please log defects and feature requests using the issue tracker on github.

About

gener was written by Tom Lee.

Follow me on Twitter or LinkedIn.

Something went wrong with that request. Please try again.