Re-install Addon via SSH

Hi,

My system crashed whilst updating the new z-wave addon. The addons page no longer loads but I can get in via ssh. The documentation suggests that you can issue addon related commands but goes into no detail. Anyone know how I can re-install (or just disable) addons via ssh?

Thanks,

Dan