herbgobbler
herbgobbler copied to clipboard
Herbgobbler -f doesn't work
The tool doesn't consider -f flag.
gobble i18n -f app/views/home/home.html.erb ***** HerbGobbler Usage *****
Options
tr8n | i18n : Use the normal rails i18n output format or use tr8n output
-a : Process an entire Rails Code Base
-f
Usage: gobble tr8n -a
This just all got rebuild, can you give it another try?
I can confirm that that the file argument is not being respected
This is still happening (both on the gem 0.3.11 and on master, after the rewrite).
The culprit is here.
We have:
path = options[:path] || "."
then later if path is not nil (and it never can be, in this cas), a global parse occurs rather than a single file parse.