themsaid / laravel-langman

Language files manager in your artisan console.
MIT License
876 stars 166 forks source link

specify the languages to display #23

Closed ahmedash95 closed 8 years ago

ahmedash95 commented 8 years ago

some improvements as mentioned in #19 . i made some additional on langman:show command , this PR will allow users to specify the languages that they want to display like

php artisan langman:show auth --lang=en

for multiple specifications

php artisan langman:show auth --lang=en,ar
themsaid commented 8 years ago

@ahmedash95 how about :

php artisan langman:show auth->en php artisan langman:show auth->en,ar php artisan langman:show auth.username->en

To match the syntax of the other commands?

ahmedash95 commented 8 years ago

@themsaid then i think we will move the specification from the ShowCommand to Manager ?

ahmedash95 commented 8 years ago

@themsaid i don't know why this chaining confusing me , why don't we just use option lang with any command ?

rjsworking commented 8 years ago

+1 for php artisan langman:show auth --lang=en,ar

In my opinion this syntax is more suitable for a command.