Something like ./cdap-cli.sh --namespace=myspace --uri http://somehost:10000 --user bob --password secret
Isn't this just as simple?./cdap-cli.shuse namespace myspace