ufirstgroup / laravel-lang-import-export

A Laravel package providing artisan commands to import and export language files from and to CSV
MIT License
41 stars 39 forks source link

no commands defined #1

Closed llioor closed 8 years ago

llioor commented 8 years ago

I did everything step by step. The structure is: resources >> lang >> en >> messages.php

I run this commend: php artisan lang-export:csv en_US messages or php artisan lang-export:csv en messages

This is the error message:

[InvalidArgumentException]
There are no commands defined in the "lang-export" namespace.

any idea?

llioor commented 8 years ago

@mruoss maybe you can help please?

mruoss commented 8 years ago

Alright, please update the module with the code from the current master and try again.

llioor commented 8 years ago

Hi @mruoss Thank you for your response! When I run this: php artisan lang-export:csv --output=storage\app\langs en_US messages I receive:

[ErrorException]
fopen(storage\app\langs): failed to open stream: Permission denied

When I run this: php artisan lang-export:csv en_US messages I don't receive nothing back and I don't know where the csv is saved?

Thanks

llioor commented 8 years ago

I solved it, I needed to use full path for artisan commend!

again thanks for the update!