loading...

re: Introducing minicli: a microframework for CLI-centric PHP applications VIEW POST

FULL DISCUSSION
 

Tip:
The sub-commands can extend the DefaultController for the command, over-writing the handle() method, but inheriting the other methods from the DefaultController, in case for example, you want a method in the DefaultController which handles flags, but don't want to re-define that in all the sub-commands.

 

That's a great idea Sherri, thanks for sharing! Updates coming soon 😊

code of conduct - report abuse