WeareJH / wf2

PHP environments for Magento 1, Magento 2 & Wordpress
6 stars 3 forks source link

53 - Added self update command #59

Closed jflanaganuk closed 4 years ago

jflanaganuk commented 4 years ago

Added a command to update wf2 automatically,

The flow is to run wf2 self-update which then will fetch the latest JSON information from github which contains the download link for the latest binary (amongst other data such as description)

The user then confirms these details are correct and the next step is to download to a tmp dir After that is successful it will overwrite the current wf2 file (it will need sudo for this)