HNHacker News
TopNewBestAskShowJobs

webNeat

21 karma · joined May 9, 2015

submissionscomments
webNeat··on Build command line apps using PHP 7
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.
webNeat··on Build command line apps using PHP 7
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, ...
webNeat··on Build command line apps using PHP 7
Can you define and parse command line arguments that easy using raw PHP ?