Ayi does house-keeping.
Because source code, like your apartment, should be kept nice and clean.
What Does Ayi Do
Currently, ayi does these:
- remove trailing white spaces
- replace tabs with 2 spaces
- replace new line characters with
- append a
\nbefore EOF unless already exists
And some more. Not all operations applies for all languages supported, and for some languages, special strategies will be applied as well (like prettify JSON etc).
Of course we will teach her to do more.
Supported Languages and File Types
Coming up soon
- command line options
- remove excess new lines at end of file
$ gem install ayi --no-ri --no-doc
To clean up your project, specify a path for her to work on
$ ayi ~/path-to-the-project-to-be-tidied
Or send file paths to its STDIN
Oh, you do have revision control, don't you?
- Fork it
- Create your feature branch (
git checkout -b my-new-feature)
- Commit your changes (
git commit -am 'Added some feature')
- Push to the branch (
git push origin my-new-feature)
- Create new Pull Request
Made with love through Readme Driven Development
0.0.6 / 2014-11-26
- do not depends on thor gem
0.0.5 / 2014-11-22
- better git repo detection
0.0.2 / 2012-12-14
0.0.1 / 2012-12-11
- Initial release