Refactor part of CLI task exec into dispatch()
Refactor part of CLI task exec into dispatch()

mkusz/invoke,frol/invoke,mkusz/invoke,pfmoore/invoke,tyewang/invoke,mattrobenolt/invoke,frol/invoke,sophacles/invoke,pfmoore/invoke,mattrobenolt/invoke,pyinvoke/invoke,pyinvoke/invoke,singingwolfboy/invoke,kejbaly2/invoke,kejbaly2/invoke