Cloud Foundry switch-space' 不是注册命令
Cloud Foundry switch-space' is not a registered command
我正在尝试 运行 命令 cf switch-space
在我的 Cloud Foundry 帐户之间切换。为什么我有这个问题有什么建议吗?
cf switch-space
'switch-space' is not a registered command. See 'cf help -a'
信息
$ cf -v
cf version 6.32.0+0191c33d9.2017-09-26
因为它不是常用的 cf cli 命令。如果您想在同一基础上切换到新组织和 space,请使用 cf target
。
如果您想为多个目标保存身份验证和目标,我建议使用 targets
插件,可在此处找到:https://github.com/guidowb/cf-targets-plugin. It's also listed on https://plugins.cloudfoundry.org。只需搜索 Targets
.
假设您想在同一个组织内执行此操作,您可以像这样在 space 之间切换
cf t -s <the-name-of-your-space>
或重新登录到另一个 space
cf login -a <endpoint> -u <user> -o <org> -s <space>
我正在尝试 运行 命令 cf switch-space
在我的 Cloud Foundry 帐户之间切换。为什么我有这个问题有什么建议吗?
cf switch-space
'switch-space' is not a registered command. See 'cf help -a'
信息
$ cf -v
cf version 6.32.0+0191c33d9.2017-09-26
因为它不是常用的 cf cli 命令。如果您想在同一基础上切换到新组织和 space,请使用 cf target
。
如果您想为多个目标保存身份验证和目标,我建议使用 targets
插件,可在此处找到:https://github.com/guidowb/cf-targets-plugin. It's also listed on https://plugins.cloudfoundry.org。只需搜索 Targets
.
假设您想在同一个组织内执行此操作,您可以像这样在 space 之间切换
cf t -s <the-name-of-your-space>
或重新登录到另一个 space
cf login -a <endpoint> -u <user> -o <org> -s <space>