herbgobbler icon indicating copy to clipboard operation
herbgobbler copied to clipboard

Herbgobbler -f doesn't work

Open ceigel opened this issue 10 years ago • 3 comments

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 : Process a single file

Usage: gobble tr8n -a

ceigel avatar Dec 05 '14 11:12 ceigel

This just all got rebuild, can you give it another try?

douglasjsellers avatar Jan 03 '15 02:01 douglasjsellers

I can confirm that that the file argument is not being respected

camacho avatar Feb 25 '15 06:02 camacho

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.

thbar avatar Aug 20 '15 13:08 thbar