Project

geee

0.0
No commit activity in last 3 years
No release in over 3 years
because sometimes I type rails g inside my ember project and vice versa
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies

Development

~> 1.7
~> 10.0
 Project Readme

g

Run CLI generator commands without paying attention to where you are or what you are really doing.

DO U EVER FIND YOURSELF IN THIS UNENVIABLE POSITION?

$ ember g model foo
version: 0.2.3
You have to be inside an ember-cli project in order to use the generate command.

HOW EMBARASSING!! g ENDS ALL OF THAT.

demo

Installation

Because somebody already has a gem named "g", you must:

$ gem install geee

This will add g to yr path

Usage

g accepts any and all arguments and/or options that ember generate or rails generate accept. For example, g model foo will just do the right thing depending on what kind of project you are currently in.

Contributing

I'm not sure if frameworks besides rails and ember exist, but if they do you are welcome to adapt g to generate for them too.

  1. Fork it ( https://github.com/coleww/geee/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request