adobe / aio-cli-plugin-cloudmanager

Cloud Manager plugin for the Adobe I/O CLI

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

pipeline:update: Support changing the Code Location

f000 opened this issue · comments

Is your feature request related to a problem? Please describe.
We are using the CM CLI tool extensively to manage our Web Tier Config pipelines and executions. Unfortunately, not all options available in the CM UI are available in the CLI and this is causing a lot of troubles.

Describe the solution you'd like
Please add new option for cloudmanager:pipeline:update, with the same functionality as the "Code Location" input field available in the UI. It might be called --codeLocation and it should work when the pipeline is a Web Tier Config pipeline. If the pipeline is not a Web Tier Config pipeline, the usage of this option should result in a non-zero exit code.

Describe alternatives you've considered
Programmatic workaround is not possible here because this option is not yet supported by the Cloud Manager API itself (or at least it is not documented).