cloudfoundry / cloudfoundry/cli
Feature Request: Allow app devs to pass a -s and -o flag to `cf push`
Open
Nobody has claimed this yet.
enhancement
unscheduled
- Dominant language
- Go
- Stars
- 1.9k
- Forks
- 990
- Avg merge
- 1d 7h
- Merged PRs (30d)
- 8
Description
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
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing argument parsing for cf push and the listed state-changing commands, then check the linked Slack discussion for prior context. Done means defining consistent -s and -o targeting behavior across the requested commands and covering that behavior with tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- cli, cloud
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100