easy_localization icon indicating copy to clipboard operation
easy_localization copied to clipboard

Command line problem?

Open ericf-br opened this issue 3 years ago • 10 comments

I have a strange command-line issue. I have the package in the pubspec, and I have code using it, so that's all good. When I go to the command line to do anything I get... nothing.

% flutter pub run easy_localization:generate -h %

This is supposed to display the help, but it simply returns to the prompt.

Is my environment screwed up somehow perhaps?

Thanks!

ericf-br avatar Jun 10 '22 19:06 ericf-br

Same issue for me!

GeorgeChackungal avatar Jun 28 '22 18:06 GeorgeChackungal

same for me as well

cadeo111 avatar Jul 02 '22 05:07 cadeo111

+1

vodemn avatar Jul 04 '22 20:07 vodemn

Just a note though, it's ONLY the -h part that is broken. The actual generator still works properly.

ericf-br avatar Jul 05 '22 14:07 ericf-br

Just a note though, it's ONLY the -h part that is broken. The actual generator still works properly.

no. everything is broken now. it has been broken for about 3 weeks now

isrishu avatar Jul 12 '22 14:07 isrishu

Anybody with a solution of this problem ?

jawadincode avatar Jul 14 '22 07:07 jawadincode

same problem

IMWaqasFarooq avatar Aug 08 '22 13:08 IMWaqasFarooq

+1

FabiKel avatar Aug 23 '22 12:08 FabiKel

Same here +1

madatr avatar Sep 11 '22 10:09 madatr

when is this gonna get fixed?

adiman-dev avatar Sep 14 '22 03:09 adiman-dev

If you use default assetLoader try to add source dir argument with path. For example: flutter pub run easy_localization:generate -f keys -o locale_keys.g.dart --source-dir ./assets/translations

Filiponesco avatar Oct 08 '22 12:10 Filiponesco