I wanted to make a command (which will become part of ionic commands set). This command will call this “ionic build android” command and will upload the apk to my server. Can anyone point me in the right direction please. thanks
if you use a unix system you can upload files via shell commands --> so you could run “ionic build android && uploadToServer”
or you extend the gulp-process of ionic --> add an own task (there is a gulp extension to run shell commands or scripts).
take a look in the gulp file in your ionic cli projects.
Thanks man. Can you please suggest me any link or tutorial how do I get started
create an ionic project and take a look in the gulp-file --> after that read a little bit about gulp. Understand, how to extend an existing task --> use https://www.npmjs.com/package/gulp-run or something similar to run your commands in bash