Open abbyachau opened 6 years ago
We have created an issue in Pivotal Tracker to manage this:
https://www.pivotaltracker.com/story/show/158780175
The labels on this github issue will be updated when the story is started.
Another reason: for symmetry and to avoid confusion with other commands: e.g. cf org-users/space-users requires to specify the org/org+space name (these commands do not consider the currently-targeted org/space at all, they return an error if run without specifying the org/org+space)
Ideally, all commands should work in both ways: 1) if no org/space is specified they use the current target 2) if an org/space is explicitly specified as an argument they use the explicit one
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed.
Command
cf push
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 pushWhy
Note: From a slack conversation: https://cloudfoundry.slack.com/archives/C032824SM/p1523331763000112