Logging into concourse teams

Hi,

We have only local users setup in our concourse bosh foundation, I am trying to setup a script that helps me in logging in to a team and execute some fly command. But when I use fly login it gives me the below message which forces me to go to the browser and enter the username and password manually. Is there any other way I can pass these values without having to try from the browser ?

logging in to team ‘TST-DEV’

navigate to the following URL in your browser:

http://xxx.prvcld.xx.com/login?fly_port=57020

You can pass username and password with flags on login. Check out fly login --help for usage details.