No commit activity in last 3 years
No release in over 3 years
Additional command line generators for RedPotion. Adds scaffolding, form, and model generators.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 0.14.2
~> 1.13
~> 2.4
~> 10.0
~> 3.0

Runtime

~> 0.19.1
 Project Readme

RedPotion Generators

This command line tool provides additional generators that aren't currently available from RedPotion. Some of these generators include:

  • CDQ Model/Schema Generator
  • CDQ Table Screen Generator
  • PM::XLFormScreen Generator
  • Scaffolding Generator

By having additional generators for CDQ and PM::XLForm, this gem is able to provide a scaffolding generator, similar to that of Rails.

Installation

Add this line to your application's Gemfile:

gem 'redpotion-generators'

And then execute:

$ bundle

Or install it yourself as:

$ gem install redpotion-generators

Usage

Once you have installed the gem, the generators are available under a rp command.

Scaffolding Generator

rp scaffold blog_post title:string body:text published:boolean publish_date:datetime

CDQ Generators

rp cdq_model blog_post title:string body:text published:datetime
rp cdq_table_screen blog_posts

PM::XLFormScreen Generator

Currently only available by using the scaffolding generator.

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/andrewhavens/redpotion-generators.

License

The gem is available as open source under the terms of the MIT License.