add cli specific code for app deployment (ear + tar.gz)