abhaynikam / boring_generators

Boring generators aims to make your development faster by delegating boring setups to us.
https://www.boringgenerators.com/
MIT License
269 stars 25 forks source link
generators hacktoberfest rails

Boring Generators

Gem GitHub Workflow Status

Have you ever started a new adventure/hobby project of your and instead of spending time in solving the actual problem statement with the website ended up configuring the application and put a lot of effort into it. Yeah, We felt that too. Boring generator tries to resolve the painful same redundant configuration you do in every application by adding generators to easily configure it.

Check out the generator we support right now. We are planning to add support to most of the mostly used and required gems. We are open to any idea of yours, feel free to raise a discussion by opening up an issue or try contributing.

Installation

Add this line to your application's Gemfile:

gem 'boring_generators'

And then execute:

$ bundle install

Or install it yourself as:

$ gem install boring_generators

And then you can use it this way:

$ boring generate boring:simple_form:install --css_framework=<css_framework>
$ boring g boring:pry:install

To see options provided by each generator with their descriptions and accepted values, you can hit the following command for example:

$ boring generate boring:simple_form:install --help

Usage

The boring generator introduces following generators:

Screencasts

Development

After checking out the repo, run bin/setup to install dependencies. Then, run rake test to run the tests. You can also run bin/console for an interactive prompt that will allow you to experiment.

You can also run specific test cases using following commands:

bundle exec ruby -w -Itest test/generators/tailwind_install_generator_test.rb

To install this gem onto your local machine, run bundle exec rake install. To release a new version, update the version number in version.rb, and then run bundle exec rake release, which will create a git tag for the version, push git commits and tags, and push the .gem file to rubygems.org.

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/abhaynikam/boring_generators. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the code of conduct.

Changelog

Boring Generators changelog is available here.

License

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

Code of Conduct

Everyone interacting in the BoringGenerators project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.