zicht / messages-bundle

Library - ZichtMessagesBundle - Edit your translations in the database
MIT License
1 stars 0 forks source link

Update LoadCommand to use SymfonyStyle output #36

Closed erik-zicht closed 1 year ago

erik-zicht commented 1 year ago

Ik zat nog te denken: kan het command ook niet gewoon zelf files zoeken? Bijv. als je als argument iets meegeeft, dan gebruikt ie dat, maar is het argument leeg, dan vraagt ie "Wil je zoeken naar files in translations/?" Of als de CLI niet interactive is, dan gebruikt ie dat gewoon als default. Dan is het command een stuk intelligenter en hoef je niet dingen te programmeren in obscure deployment tools of lange regels bash commands te leren om het handmatig te kunnen draaien...

Met de https://symfony.com/doc/current/components/finder.html en een of twee standaard directories zou dat zeker moeten kunnen