Deploying from command line

Probably a stupid idea but how does one deploy to different platforms (I’m interested in Android, iOS and web) from command line (I need it to be automatic)?

You can use the command line parameters of the unity editor to do this

For the webplayer and the windows Version you use the predefined commands.
For the rest you could setup a editor script that you can call with
-executeMethod