cli icon indicating copy to clipboard operation
cli copied to clipboard

Feature Request: Allow app devs to pass a -s and -o flag to `cf push`

Open abbyachau opened this issue 6 years ago • 4 comments

Command

  • cf push
  • but could be extended to any command on an app that changes state (cf restart, cf restage, cf map-route, unmap-route, set-env, start, stop, run-task)

What

Allow for cf push my-app -s my-space -o my-org so that I am always sure that I am targeting the correct environment when I push

Why

  • scripts that run (concurrently)
  • eliminates human error

Note: From a slack conversation: https://cloudfoundry.slack.com/archives/C032824SM/p1523331763000112

abbyachau avatar Jul 02 '18 21:07 abbyachau