Since my application is built and packaged with ant, I also want to automate uploading the generated apk to play store. A command line tool like Apple's ApplicationLoader would be great for this task. Example;
$ altool --upload-app -f file -u username [-p password] [--output-format xml]
I know an android-publisher api and some api libraries exists but you need to write your own app to manage the complicated flow. There are some command line tools for Gradle and Jenkins which are not helpful when using ant.
Is there already a command line tool for uploading to playstore or should I write my own tool by implementing the android-publisher api?