cli
cli copied to clipboard
run-task `--wait` parameter is missing from cf8
Please fill out the issue checklist below and provide ALL the requested information.
- [x] I reviewed open and closed github issues that may be related to my problem.
- [x] I tried updating to the latest version of the CF CLI to see if it fixed my problem.
- [x] I attempted to run the command with
CF_TRACE=1to help debug the issue. - [x] I am reporting a bug that others will be able to reproduce.
Describe the bug and the command you saw an issue with Provide details on what you were trying to do (and why).
I was trying to run cf run-task [PARAMS] --wait to wait for the output before proceeding in a script.
What happened
Incorrect Usage: unknown flag '--wait'
Expected behavior The command does not error out, and does not return until the task succeeds or fails.
Exact Steps To Reproduce Steps to reproduce the behavior; include the exact CLI commands and verbose output:
brew install cloudfoundry/tap/cf-cli@7cf run-task --wait(errors out because of missing parameters, but no complaints about--wait)brew uninstall cloudfoundry/tap/cf-cli@7brew install cloudfoundry/tap/cf-cli@8cf run-task --wait(this is not sufficient parameters to actually run a task, but it demonstrates that--waitno longer works in cf8)- See error about the
--waitparameter
Provide more context
- platform and shell details ( e.g. Mac OS X 10.11 iTerm)
- This was in Ubuntu Linux, using the cf-cli 8 installed via Homebrew (which now supports Linux)
- version of the CLI you are running
- CF7:
cf version 7.4.0+e55633fed.2021-11-15 - CF8:
cf version 8.0.0+e8d41cf8e.2021-09-16
- CF7:
- version of the CC API Release you are on
- N/A
See the Slack thread that precipitated this issue for additional info; note that the --help output and CLI docs site for CF8 will need updating when this fixed as well.
This is causing problems between teams who share tooling that uses the cf CLI... People keep wanting to iterate the tooling to cf8 when certain tasks are only possible with cf7. Any chance it can be addressed soon?
+1
Looks like a regression on cf8 especially because cf cli v8 added --wait for many commands: https://github.com/cloudfoundry/cli/releases/tag/v8.0.0
I'd love to see this fixed in an 8.2.1... Please? At least ahead of 8.3.0?
+1
is this being picked up??