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)
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)