Open padraic opened 7 years ago
I need to take a better look on this :)
Thanks for the review @povils - made some changes. Missed your comment on the text colouring if you have specific colour codes to fit in with your preferred theme.
@povils Pretty much done, but I may add a few changes towards the weekend to take advantage of a new phar-updater release expected shortly, and someone may know if the fugly argv function has a more...elegant solution.
self-update
command (not loaded unless running a phar). Alsoself-update --check
(check if new version) andself-update --rollback
(revert to previous version).phpmnd
command torun
(bash script edited to inject sophpmnd
works exactly as-is).--help
and--version
/-V
as expected.padraic/phar-updater
added.Noted as WIP for feedback. Having a
run
command - there's probably a better way to have a default command (where$_SERVER['argv']
isn't manipulated outside of symfony/console). This also omits theself-update
command from--help
.Works, but may need some tidying for those two points.