es-cli batch mode login
Hey all, I'm having trouble with the es-cli batch mode login. It seems that when you have a batch file (where commands are one per line, identical to the session based mode) one cannot run the 'login' command with any arguments that it will understand.
I've been able to decipher (no thanks to the documentation) the arguments for the user and password: user=foo password=bar. These in addition to the serverHost=hostname will let me login on one command line in session mode. Putting the exact same line as the first line of a batch file and running es-cli -b <filename> prompts me for a Host:, then User:, then Password:, then proceeds with the rest of the file.
Any thoughts on this? Am I just going to have to break out javac and write my own program using the API's?
TIA
Robert

