CFWithEnv runs a 'cf' command with specified environment variables and given arguments.
(envVars map[string]string, args ...string)
| 95 | |
| 96 | // CFWithEnv runs a 'cf' command with specified environment variables and given arguments. |
| 97 | func CFWithEnv(envVars map[string]string, args ...string) *Session { |
| 98 | return CustomCF(CFEnv{EnvVars: envVars}, args...) |
| 99 | } |
| 100 | |
| 101 | // WriteCommand prints the working directory, the environment variables, and |
| 102 | // 'cf' with the given arguments. Environment variables that are passwords will |
no test coverage detected