News for hackers. Stuff that matters.

webNeat

Re:Build command line apps using PHP 7 on Sunday September 03, 2017 @11:00PM (#15165402)
I know this one, but it's not as powerful as using something like https://github.com/tarsana/syntax, especially if the arguments are very complicated like here https://github.com/webNeat/lumen-generators#resource-generat... and need validation.
Re:Build command line apps using PHP 7 on Sunday September 03, 2017 @05:38PM (#15164071)
My first intention was to extend Symfony/Console and make it more easy to use, but the main pain points were defining and parsing command line args, mocking stdin and filesystem, ...
Re:Build command line apps using PHP 7 on Sunday September 03, 2017 @05:35PM (#15164056)
Can you define and parse command line arguments that easy using raw PHP ?