问题
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.
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
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
.
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?
回答1:
You should use
appcenter codepush deployment history <deployementName>
command to show the list of your recent releases (deployment history).
to use help you should prefix help
arg with double dashes, e.g. appcenter codepush --help
.
来源:https://stackoverflow.com/questions/48345366/appcenter-codepush-cli-list-deployments