Please fill out the issue checklist below and provide ALL the requested information.
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@7
cf run-task --wait (errors out because of missing parameters, but no complaints about --wait)
brew uninstall cloudfoundry/tap/cf-cli@7
brew install cloudfoundry/tap/cf-cli@8
cf run-task --wait (this is not sufficient parameters to actually run a task, but it demonstrates that --wait no longer works in cf8)
- See error about the
--wait parameter
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
- version of the CC API Release you are on
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.
Please fill out the issue checklist below and provide ALL the requested information.
CF_TRACE=1to help debug the issue.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] --waitto 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)--waitparameterProvide more context
cf version 7.4.0+e55633fed.2021-11-15cf version 8.0.0+e8d41cf8e.2021-09-16See 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.