Appcenter CodePush CLI-列出部署 [英] Appcenter CodePush CLI - list deployments
问题描述
我是CodePush(使用cordova)的用户.我正在快速检查一下AppCenter,因为 CodePush正在那里迁移一个>.我注意到,AppCenter CLI似乎不如CodePush CLI健壮/就绪.
I'm a user of CodePush (with cordova). I'm doing some quick checking into AppCenter since CodePush is migrating there. I'm noticing that the AppCenter CLI doesn't seem as robust/ready as the CodePush CLI.
这时我的主要问题是此命令是否应显示部署历史记录(包括旧的CodePush部署)?
My main question at this point is if this command should show a deployment history (including old CodePush deployments)?
appcenter codepush deployment list -a owner/appName
我看到它仅显示该应用程序的部署密钥,但据记录 ),但这会引发错误:
appcenter codepush help
.
I'm seeing that it only shows the deployment keys for the app, yet the documentation makes it seem like this should also show deployment history. I'm trying to use the CLI help (as documented), but this throws an error:
appcenter codepush help
.
我登录到AppCenter UI,它确实显示了我的旧CodePush版本历史.我希望CLI也能提供同样的服务.我猜我想念一些简单的东西吗?
I logged onto the AppCenter UI, and it does show my old CodePush release history. I would expect the same from the CLI. I'm guessing I'm missing something simple?
推荐答案
您应该使用
appcenter codepush deployment history <deployementName>
命令显示最近发布的列表(部署历史记录).
You should use
appcenter codepush deployment history <deployementName>
command to show the list of your recent releases (deployment history).
要使用帮助,您应在help
arg前面加上双破折号,例如appcenter codepush --help
.
to use help you should prefix help
arg with double dashes, e.g. appcenter codepush --help
.
这篇关于Appcenter CodePush CLI-列出部署的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!