aprescott / rake-typo

Get task suggestions when you mistype Rake tasks.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

No more task typos

Tired of seeing this and not knowing the exact task name?

$ rake ffoo

rake aborted!
Don't know how to build task 'ffoo'
(See full trace by running task with --trace)

Add this to your rakefile:

require "rake/typo"

Now you can get suggestions for similar task names:

$ rake ffoo

Don't know how to build task 'food:bar'

Did you mean this?

	foo

Install and use

$ gem install rake-typo

Then simply require "rake-typo" to your Rake file.

License and contributing

Released under the MIT license. See LICENSE for details.

The quickest way to get changes contributed:

  1. Visit the GitHub repository for rake-typo.
  2. Fork the repository.
  3. Check out a branch on the latest master for your change: git checkout -b master new-feature --- do not make changes on master! Make sure that anything added or changed has a test in the test/ directory. Use the existing files as examples. All tests for new/changed behaviour should pass.
  4. Send a pull request on GitHub, including a description of what you've changed.

About

Get task suggestions when you mistype Rake tasks.

License:MIT License


Languages

Language:Ruby 100.0%