erb2haml
erb2haml copied to clipboard
Convert/replace specified files
Hi,
I think it would be nice to have a mode like this
$ rake haml:convert_erbs -- app/views/foo/bar.html.erb
You only give ERB paths you want to convert/replace.
Another mode where confirmation is required could be nice
$ rake haml:convert_erbs --confirm
Do you want to convert "foo/bar.html.erb" ? [Yn] Y
Do you want to convert "foo/baz.html.erb" ? [Yn] n
Hi @Blackrush, if you just want to convert a single file, you might want to take a look at html2haml.