cloudfoundry/cf — pull request #3 by hmalphettes (2013-04-30 01:33:20+00:00)
Title: no interactive login with --force flag

I am using cf through a shell script.
I noticed that despite using the --force flag there would still be an interactive prompt to login the user. That seems to go against the documentation. Also it is not consistent with cli.rb's method `check_logged_in`

Use case:

cf logout
cf --force apps

should not do an interactive login.