New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@adobe/aio-cli-plugin-cloudmanager

Package Overview
Dependencies
Maintainers
69
Versions
128
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@adobe/aio-cli-plugin-cloudmanager - npm Package Compare versions

Comparing version 0.8.0 to 0.9.0

src/commands/cloudmanager/delete-program.js

7

CHANGELOG.md
# Changelog
## 0.8.0 (27/05/2020)
- Include validation errors in the non-debug error message [#115](https://github.com/adobe/aio-cli-plugin-cloudmanager/issues/115)
- Remove dependency on aio-cli-plugin-runtime [#111](https://github.com/adobe/aio-cli-plugin-cloudmanager/issues/111)
- resolve depcheck warnings [#109](https://github.com/adobe/aio-cli-plugin-cloudmanager/issues/109)
---
## 0.7.3 (27/04/2020)

@@ -4,0 +11,0 @@ - cloudmanager:base-environment-variables-command should not be listed on readme [#101](https://github.com/adobe/aio-cli-plugin-cloudmanager/issues/101)

2

oclif.manifest.json

@@ -1,1 +0,1 @@

{"version":"0.8.0","commands":{"cloudmanager:advance-current-execution":{"id":"cloudmanager:advance-current-execution","description":"advance current pipeline execution either by overriding a waiting quality gate or advancing the approval step","pluginName":"@adobe/aio-cli-plugin-cloudmanager","pluginType":"core","aliases":[],"flags":{"passphrase":{"name":"passphrase","type":"option","char":"r","description":"the passphrase for the private-key"},"programId":{"name":"programId","type":"option","char":"p","description":"the programId. if not specified, defaults to 'cloudmanager_programid' config value"}},"args":[{"name":"pipelineId","description":"the pipeline id","required":true}]},"cloudmanager:cancel-current-execution":{"id":"cloudmanager:cancel-current-execution","description":"cancel current pipeline execution either by cancelling the current step, rejecting a waiting quality gate, or rejecting the approval step","pluginName":"@adobe/aio-cli-plugin-cloudmanager","pluginType":"core","aliases":[],"flags":{"passphrase":{"name":"passphrase","type":"option","char":"r","description":"the passphrase for the private-key"},"programId":{"name":"programId","type":"option","char":"p","description":"the programId. if not specified, defaults to 'cloudmanager_programid' config value"}},"args":[{"name":"pipelineId","description":"the pipeline id","required":true}]},"cloudmanager:delete-pipeline":{"id":"cloudmanager:delete-pipeline","description":"delete pipeline","pluginName":"@adobe/aio-cli-plugin-cloudmanager","pluginType":"core","aliases":[],"flags":{"passphrase":{"name":"passphrase","type":"option","char":"r","description":"the passphrase for the private-key"},"programId":{"name":"programId","type":"option","char":"p","description":"the programId. if not specified, defaults to 'cloudmanager_programid' config value"}},"args":[{"name":"pipelineId","description":"the pipeline id","required":true}]},"cloudmanager:download-logs":{"id":"cloudmanager:download-logs","description":"lists available logs for an environment in a Cloud Manager program","pluginName":"@adobe/aio-cli-plugin-cloudmanager","pluginType":"core","aliases":[],"flags":{"passphrase":{"name":"passphrase","type":"option","char":"r","description":"the passphrase for the private-key"},"programId":{"name":"programId","type":"option","char":"p","description":"the programId. if not specified, defaults to 'cloudmanager_programid' config value"},"outputDirectory":{"name":"outputDirectory","type":"option","char":"o","description":"the output directory. If not set, defaults to the current directory."}},"args":[{"name":"environmentId","description":"the environment id","required":true},{"name":"service","description":"the service","required":true},{"name":"name","description":"the log name","required":true},{"name":"days","description":"the number of days","required":false,"default":"1"}]},"cloudmanager:get-current-execution":{"id":"cloudmanager:get-current-execution","description":"get pipeline execution","pluginName":"@adobe/aio-cli-plugin-cloudmanager","pluginType":"core","aliases":[],"flags":{"passphrase":{"name":"passphrase","type":"option","char":"r","description":"the passphrase for the private-key"},"programId":{"name":"programId","type":"option","char":"p","description":"the programId. if not specified, defaults to 'cloudmanager_programid' config value"}},"args":[{"name":"pipelineId","description":"the pipeline id","required":true}]},"cloudmanager:get-execution-step-details":{"id":"cloudmanager:get-execution-step-details","description":"get execution step details","pluginName":"@adobe/aio-cli-plugin-cloudmanager","pluginType":"core","aliases":[],"flags":{"passphrase":{"name":"passphrase","type":"option","char":"r","description":"the passphrase for the private-key"},"programId":{"name":"programId","type":"option","char":"p","description":"the programId. if not specified, defaults to 'cloudmanager_programid' config value"}},"args":[{"name":"pipelineId","description":"the pipeline id","required":true},{"name":"executionId","description":"the execution id","required":true}]},"cloudmanager:get-execution-step-log":{"id":"cloudmanager:get-execution-step-log","description":"get step log","pluginName":"@adobe/aio-cli-plugin-cloudmanager","pluginType":"core","aliases":[],"flags":{"passphrase":{"name":"passphrase","type":"option","char":"r","description":"the passphrase for the private-key"},"programId":{"name":"programId","type":"option","char":"p","description":"the programId. if not specified, defaults to 'cloudmanager_programid' config value"},"output":{"name":"output","type":"option","char":"o","description":"the output file. If not set, uses standard output."},"file":{"name":"file","type":"option","char":"f","description":"the alternative log file name. currently only `sonarLogFile` is available (for the codeQuality step)"}},"args":[{"name":"pipelineId","description":"the pipeline id","required":true},{"name":"executionId","description":"the execution id","required":true},{"name":"action","description":"the step action","required":true,"options":["build","codeQuality","devDeploy","stageDeploy","prodDeploy","buildImage"]}]},"cloudmanager:get-quality-gate-results":{"id":"cloudmanager:get-quality-gate-results","description":"get quality gate results","pluginName":"@adobe/aio-cli-plugin-cloudmanager","pluginType":"core","aliases":[],"flags":{"passphrase":{"name":"passphrase","type":"option","char":"r","description":"the passphrase for the private-key"},"programId":{"name":"programId","type":"option","char":"p","description":"the programId. if not specified, defaults to 'cloudmanager_programid' config value"}},"args":[{"name":"pipelineId","description":"the pipeline id","required":true},{"name":"executionId","description":"the execution id","required":true},{"name":"action","description":"the step action","required":true,"options":["codeQuality","security","performance"]}]},"cloudmanager":{"id":"cloudmanager","description":"interact with the Cloud Manager API to list, start, cancel, and inspect pipelines and executions.","pluginName":"@adobe/aio-cli-plugin-cloudmanager","pluginType":"core","aliases":[],"examples":["$ aio cloudmanager:list-programs","$ aio cloudmanager:list-programs --enabledonly","$ aio cloudmanager:list-pipelines","$ aio cloudmanager:list-pipelines --programId=PROGRAM_ID","$ aio cloudmanager:start-execution PIPELINE_ID","$ aio cloudmanager:start-execution --programId=PROGRAM_ID PIPELINE_ID","$ aio cloudmanager:list-current-executions","$ aio cloudmanager:list-current-executions --programId=PROGRAM_ID","$ aio cloudmanager:get-current-execution PIPELINE_ID","$ aio cloudmanager:get-current-execution --programId=PROGRAM_ID PIPELINE_ID","$ aio cloudmanager:get-quality-gate-results PIPELINE_ID [codeQuality|security|performance]","$ aio cloudmanager:get-quality-gate-results --programId=PROGRAM_ID PIPELINE_ID [codeQuality|security|performance]","$ aio cloudmanager:get-execution-step-details PIPELINE_ID EXECUTION_ID","$ aio cloudmanager:get-execution-step-details --programId=PROGRAM_ID PIPELINE_ID EXECUTION_ID","$ aio cloudmanager:get-execution-step-log PIPELINE_ID","$ aio cloudmanager:get-execution-step-log --programId=PROGRAM_ID PIPELINE_ID [build|codeQuality|devDeploy|stageDeploy|prodDeploy]","$ aio cloudmanager:cancel-current-execution PIPELINE_ID","$ aio cloudmanager:cancel-current-execution --programId=PROGRAM_ID PIPELINE_ID","$ aio cloudmanager:advance-current-execution PIPELINE_ID","$ aio cloudmanager:advance-current-execution --programId=PROGRAM_ID PIPELINE_ID","$ aio cloudmanager:delete-pipeline PIPELINE_ID","$ aio cloudmanager:delete-pipeline --programId=PROGRAM_ID PIPELINE_ID","$ aio cloudmanager:update-pipeline PIPELINE_ID --branch=NEW_BRANCH","$ aio cloudmanager:update-pipeline --programId=PROGRAM_ID PIPELINE_ID --branch=NEW_BRANCH","$ aio cloudmanager:list-environments","$ aio cloudmanager:list-environments --programId=PROGRAM_ID","$ aio cloudmanager:list-available-log-options ENVIRONMENT_ID","$ aio cloudmanager:list-available-log-options --programId=PROGRAM_ID ENVIRONMENT_ID","$ aio cloudmanager:download-logs ENVIRONMENT_ID SERVICE NAME","$ aio cloudmanager:download-logs ENVIRONMENT_ID SERVICE NAME DAYS","$ aio cloudmanager:download-logs --programId=PROGRAM_ID ENVIRONMENT_ID SERVICE NAME DAYS","$ aio cloudmanager:tail-log ENVIRONMENT_ID SERVICE NAME","$ aio cloudmanager:tail-log --programId=PROGRAM_ID ENVIRONMENT_ID SERVICE NAME"],"flags":{"passphrase":{"name":"passphrase","type":"option","char":"r","description":"the passphrase for the private-key"}},"args":[]},"cloudmanager:list-available-log-options":{"id":"cloudmanager:list-available-log-options","description":"lists available log options for an environment in a Cloud Manager program","pluginName":"@adobe/aio-cli-plugin-cloudmanager","pluginType":"core","aliases":[],"flags":{"passphrase":{"name":"passphrase","type":"option","char":"r","description":"the passphrase for the private-key"},"programId":{"name":"programId","type":"option","char":"p","description":"the programId. if not specified, defaults to 'cloudmanager_programid' config value"}},"args":[{"name":"environmentId","description":"the environment id","required":true}]},"cloudmanager:list-current-executions":{"id":"cloudmanager:list-current-executions","description":"list running pipeline executions","pluginName":"@adobe/aio-cli-plugin-cloudmanager","pluginType":"core","aliases":[],"flags":{"passphrase":{"name":"passphrase","type":"option","char":"r","description":"the passphrase for the private-key"},"programId":{"name":"programId","type":"option","char":"p","description":"the programId. if not specified, defaults to 'cloudmanager_programid' config value"}},"args":[]},"cloudmanager:list-environment-variables":{"id":"cloudmanager:list-environment-variables","description":"lists variables set on an environment","pluginName":"@adobe/aio-cli-plugin-cloudmanager","pluginType":"core","aliases":[],"flags":{"passphrase":{"name":"passphrase","type":"option","char":"r","description":"the passphrase for the private-key"},"programId":{"name":"programId","type":"option","char":"p","description":"the programId. if not specified, defaults to 'cloudmanager_programid' config value"}},"args":[{"name":"environmentId","description":"the environment id","required":true}]},"cloudmanager:list-environments":{"id":"cloudmanager:list-environments","description":"lists environments available in a Cloud Manager program","pluginName":"@adobe/aio-cli-plugin-cloudmanager","pluginType":"core","aliases":[],"flags":{"passphrase":{"name":"passphrase","type":"option","char":"r","description":"the passphrase for the private-key"},"programId":{"name":"programId","type":"option","char":"p","description":"the programId. if not specified, defaults to 'cloudmanager_programid' config value"}},"args":[]},"cloudmanager:list-pipelines":{"id":"cloudmanager:list-pipelines","description":"lists pipelines available in a Cloud Manager program","pluginName":"@adobe/aio-cli-plugin-cloudmanager","pluginType":"core","aliases":[],"flags":{"passphrase":{"name":"passphrase","type":"option","char":"r","description":"the passphrase for the private-key"},"programId":{"name":"programId","type":"option","char":"p","description":"the programId. if not specified, defaults to 'cloudmanager_programid' config value"}},"args":[]},"cloudmanager:list-programs":{"id":"cloudmanager:list-programs","description":"lists programs available in Cloud Manager","pluginName":"@adobe/aio-cli-plugin-cloudmanager","pluginType":"core","aliases":[],"flags":{"passphrase":{"name":"passphrase","type":"option","char":"r","description":"the passphrase for the private-key"},"enabledonly":{"name":"enabledonly","type":"boolean","char":"e","description":"only output Cloud Manager-enabled programs","allowNo":false}},"args":[]},"cloudmanager:open-developer-console":{"id":"cloudmanager:open-developer-console","description":"opens the Developer Console, if available, in a browser","pluginName":"@adobe/aio-cli-plugin-cloudmanager","pluginType":"core","aliases":[],"flags":{"passphrase":{"name":"passphrase","type":"option","char":"r","description":"the passphrase for the private-key"},"programId":{"name":"programId","type":"option","char":"p","description":"the programId. if not specified, defaults to 'cloudmanager_programid' config value"}},"args":[{"name":"environmentId","description":"the environment id","required":true}]},"cloudmanager:set-environment-variables":{"id":"cloudmanager:set-environment-variables","description":"sets variables set on an environment","pluginName":"@adobe/aio-cli-plugin-cloudmanager","pluginType":"core","aliases":[],"flags":{"passphrase":{"name":"passphrase","type":"option","char":"r","description":"the passphrase for the private-key"},"programId":{"name":"programId","type":"option","char":"p","description":"the programId. if not specified, defaults to 'cloudmanager_programid' config value"},"variable":{"name":"variable","type":"option","char":"v","description":"variable values in KEY VALUE format"},"secret":{"name":"secret","type":"option","char":"s","description":"secret values in KEY VALUE format"},"delete":{"name":"delete","type":"option","char":"d","description":"variables/secrets to delete"}},"args":[{"name":"environmentId","description":"the environment id","required":true}]},"cloudmanager:start-execution":{"id":"cloudmanager:start-execution","description":"start pipeline execution","pluginName":"@adobe/aio-cli-plugin-cloudmanager","pluginType":"core","aliases":[],"flags":{"passphrase":{"name":"passphrase","type":"option","char":"r","description":"the passphrase for the private-key"},"programId":{"name":"programId","type":"option","char":"p","description":"the programId. if not specified, defaults to 'cloudmanager_programid' config value"}},"args":[{"name":"pipelineId","description":"the pipeline id","required":true}]},"cloudmanager:tail-log":{"id":"cloudmanager:tail-log","description":"lists available logs for an environment in a Cloud Manager program","pluginName":"@adobe/aio-cli-plugin-cloudmanager","pluginType":"core","aliases":["cloudmanager:tail-logs"],"flags":{"passphrase":{"name":"passphrase","type":"option","char":"r","description":"the passphrase for the private-key"},"programId":{"name":"programId","type":"option","char":"p","description":"the programId. if not specified, defaults to 'cloudmanager_programid' config value"}},"args":[{"name":"environmentId","description":"the environment id","required":true},{"name":"service","description":"the service","required":true},{"name":"name","description":"the log name","required":true}]},"cloudmanager:update-pipeline":{"id":"cloudmanager:update-pipeline","description":"update pipeline","pluginName":"@adobe/aio-cli-plugin-cloudmanager","pluginType":"core","aliases":[],"flags":{"passphrase":{"name":"passphrase","type":"option","char":"r","description":"the passphrase for the private-key"},"programId":{"name":"programId","type":"option","char":"p","description":"the programId. if not specified, defaults to 'cloudmanager_programid' config value"},"branch":{"name":"branch","type":"option","description":"the new branch"},"tag":{"name":"tag","type":"option","description":"the new tag"},"repositoryId":{"name":"repositoryId","type":"option","description":"the new repositoryId"}},"args":[{"name":"pipelineId","description":"the pipeline id","required":true}]}}}
{"version":"0.9.0","commands":{"cloudmanager:advance-current-execution":{"id":"cloudmanager:advance-current-execution","description":"advance current pipeline execution either by overriding a waiting quality gate or advancing the approval step","pluginName":"@adobe/aio-cli-plugin-cloudmanager","pluginType":"core","aliases":[],"flags":{"passphrase":{"name":"passphrase","type":"option","char":"r","description":"the passphrase for the private-key"},"programId":{"name":"programId","type":"option","char":"p","description":"the programId. if not specified, defaults to 'cloudmanager_programid' config value"}},"args":[{"name":"pipelineId","description":"the pipeline id","required":true}]},"cloudmanager:cancel-current-execution":{"id":"cloudmanager:cancel-current-execution","description":"cancel current pipeline execution either by cancelling the current step, rejecting a waiting quality gate, or rejecting the approval step","pluginName":"@adobe/aio-cli-plugin-cloudmanager","pluginType":"core","aliases":[],"flags":{"passphrase":{"name":"passphrase","type":"option","char":"r","description":"the passphrase for the private-key"},"programId":{"name":"programId","type":"option","char":"p","description":"the programId. if not specified, defaults to 'cloudmanager_programid' config value"}},"args":[{"name":"pipelineId","description":"the pipeline id","required":true}]},"cloudmanager:delete-pipeline":{"id":"cloudmanager:delete-pipeline","description":"delete pipeline","pluginName":"@adobe/aio-cli-plugin-cloudmanager","pluginType":"core","aliases":[],"flags":{"passphrase":{"name":"passphrase","type":"option","char":"r","description":"the passphrase for the private-key"},"programId":{"name":"programId","type":"option","char":"p","description":"the programId. if not specified, defaults to 'cloudmanager_programid' config value"}},"args":[{"name":"pipelineId","description":"the pipeline id","required":true}]},"cloudmanager:delete-program":{"id":"cloudmanager:delete-program","description":"delete program","pluginName":"@adobe/aio-cli-plugin-cloudmanager","pluginType":"core","aliases":[],"flags":{"passphrase":{"name":"passphrase","type":"option","char":"r","description":"the passphrase for the private-key"}},"args":[{"name":"programId","description":"the program id","required":true}]},"cloudmanager:download-logs":{"id":"cloudmanager:download-logs","description":"lists available logs for an environment in a Cloud Manager program","pluginName":"@adobe/aio-cli-plugin-cloudmanager","pluginType":"core","aliases":[],"flags":{"passphrase":{"name":"passphrase","type":"option","char":"r","description":"the passphrase for the private-key"},"programId":{"name":"programId","type":"option","char":"p","description":"the programId. if not specified, defaults to 'cloudmanager_programid' config value"},"outputDirectory":{"name":"outputDirectory","type":"option","char":"o","description":"the output directory. If not set, defaults to the current directory."}},"args":[{"name":"environmentId","description":"the environment id","required":true},{"name":"service","description":"the service","required":true},{"name":"name","description":"the log name","required":true},{"name":"days","description":"the number of days","required":false,"default":"1"}]},"cloudmanager:get-current-execution":{"id":"cloudmanager:get-current-execution","description":"get pipeline execution","pluginName":"@adobe/aio-cli-plugin-cloudmanager","pluginType":"core","aliases":[],"flags":{"passphrase":{"name":"passphrase","type":"option","char":"r","description":"the passphrase for the private-key"},"programId":{"name":"programId","type":"option","char":"p","description":"the programId. if not specified, defaults to 'cloudmanager_programid' config value"}},"args":[{"name":"pipelineId","description":"the pipeline id","required":true}]},"cloudmanager:get-execution-step-details":{"id":"cloudmanager:get-execution-step-details","description":"get execution step details","pluginName":"@adobe/aio-cli-plugin-cloudmanager","pluginType":"core","aliases":[],"flags":{"passphrase":{"name":"passphrase","type":"option","char":"r","description":"the passphrase for the private-key"},"programId":{"name":"programId","type":"option","char":"p","description":"the programId. if not specified, defaults to 'cloudmanager_programid' config value"}},"args":[{"name":"pipelineId","description":"the pipeline id","required":true},{"name":"executionId","description":"the execution id","required":true}]},"cloudmanager:get-execution-step-log":{"id":"cloudmanager:get-execution-step-log","description":"get step log","pluginName":"@adobe/aio-cli-plugin-cloudmanager","pluginType":"core","aliases":[],"flags":{"passphrase":{"name":"passphrase","type":"option","char":"r","description":"the passphrase for the private-key"},"programId":{"name":"programId","type":"option","char":"p","description":"the programId. if not specified, defaults to 'cloudmanager_programid' config value"},"output":{"name":"output","type":"option","char":"o","description":"the output file. If not set, uses standard output."},"file":{"name":"file","type":"option","char":"f","description":"the alternative log file name. currently only `sonarLogFile` is available (for the codeQuality step)"}},"args":[{"name":"pipelineId","description":"the pipeline id","required":true},{"name":"executionId","description":"the execution id","required":true},{"name":"action","description":"the step action","required":true,"options":["build","codeQuality","devDeploy","stageDeploy","prodDeploy","buildImage"]}]},"cloudmanager:get-quality-gate-results":{"id":"cloudmanager:get-quality-gate-results","description":"get quality gate results","pluginName":"@adobe/aio-cli-plugin-cloudmanager","pluginType":"core","aliases":[],"flags":{"passphrase":{"name":"passphrase","type":"option","char":"r","description":"the passphrase for the private-key"},"programId":{"name":"programId","type":"option","char":"p","description":"the programId. if not specified, defaults to 'cloudmanager_programid' config value"}},"args":[{"name":"pipelineId","description":"the pipeline id","required":true},{"name":"executionId","description":"the execution id","required":true},{"name":"action","description":"the step action","required":true,"options":["codeQuality","security","performance"]}]},"cloudmanager":{"id":"cloudmanager","description":"interact with the Cloud Manager API to list, start, cancel, and inspect pipelines and executions.","pluginName":"@adobe/aio-cli-plugin-cloudmanager","pluginType":"core","aliases":[],"examples":["$ aio cloudmanager:list-programs","$ aio cloudmanager:list-programs --enabledonly","$ aio cloudmanager:list-pipelines","$ aio cloudmanager:list-pipelines --programId=PROGRAM_ID","$ aio cloudmanager:start-execution PIPELINE_ID","$ aio cloudmanager:start-execution --programId=PROGRAM_ID PIPELINE_ID","$ aio cloudmanager:list-current-executions","$ aio cloudmanager:list-current-executions --programId=PROGRAM_ID","$ aio cloudmanager:get-current-execution PIPELINE_ID","$ aio cloudmanager:get-current-execution --programId=PROGRAM_ID PIPELINE_ID","$ aio cloudmanager:get-quality-gate-results PIPELINE_ID [codeQuality|security|performance]","$ aio cloudmanager:get-quality-gate-results --programId=PROGRAM_ID PIPELINE_ID [codeQuality|security|performance]","$ aio cloudmanager:get-execution-step-details PIPELINE_ID EXECUTION_ID","$ aio cloudmanager:get-execution-step-details --programId=PROGRAM_ID PIPELINE_ID EXECUTION_ID","$ aio cloudmanager:get-execution-step-log PIPELINE_ID","$ aio cloudmanager:get-execution-step-log --programId=PROGRAM_ID PIPELINE_ID [build|codeQuality|devDeploy|stageDeploy|prodDeploy]","$ aio cloudmanager:cancel-current-execution PIPELINE_ID","$ aio cloudmanager:cancel-current-execution --programId=PROGRAM_ID PIPELINE_ID","$ aio cloudmanager:advance-current-execution PIPELINE_ID","$ aio cloudmanager:advance-current-execution --programId=PROGRAM_ID PIPELINE_ID","$ aio cloudmanager:delete-pipeline PIPELINE_ID","$ aio cloudmanager:delete-pipeline --programId=PROGRAM_ID PIPELINE_ID","$ aio cloudmanager:update-pipeline PIPELINE_ID --branch=NEW_BRANCH","$ aio cloudmanager:update-pipeline --programId=PROGRAM_ID PIPELINE_ID --branch=NEW_BRANCH","$ aio cloudmanager:list-environments","$ aio cloudmanager:list-environments --programId=PROGRAM_ID","$ aio cloudmanager:list-available-log-options ENVIRONMENT_ID","$ aio cloudmanager:list-available-log-options --programId=PROGRAM_ID ENVIRONMENT_ID","$ aio cloudmanager:download-logs ENVIRONMENT_ID SERVICE NAME","$ aio cloudmanager:download-logs ENVIRONMENT_ID SERVICE NAME DAYS","$ aio cloudmanager:download-logs --programId=PROGRAM_ID ENVIRONMENT_ID SERVICE NAME DAYS","$ aio cloudmanager:tail-log ENVIRONMENT_ID SERVICE NAME","$ aio cloudmanager:tail-log --programId=PROGRAM_ID ENVIRONMENT_ID SERVICE NAME"],"flags":{"passphrase":{"name":"passphrase","type":"option","char":"r","description":"the passphrase for the private-key"}},"args":[]},"cloudmanager:list-available-log-options":{"id":"cloudmanager:list-available-log-options","description":"lists available log options for an environment in a Cloud Manager program","pluginName":"@adobe/aio-cli-plugin-cloudmanager","pluginType":"core","aliases":[],"flags":{"passphrase":{"name":"passphrase","type":"option","char":"r","description":"the passphrase for the private-key"},"programId":{"name":"programId","type":"option","char":"p","description":"the programId. if not specified, defaults to 'cloudmanager_programid' config value"}},"args":[{"name":"environmentId","description":"the environment id","required":true}]},"cloudmanager:list-current-executions":{"id":"cloudmanager:list-current-executions","description":"list running pipeline executions","pluginName":"@adobe/aio-cli-plugin-cloudmanager","pluginType":"core","aliases":[],"flags":{"passphrase":{"name":"passphrase","type":"option","char":"r","description":"the passphrase for the private-key"},"programId":{"name":"programId","type":"option","char":"p","description":"the programId. if not specified, defaults to 'cloudmanager_programid' config value"}},"args":[]},"cloudmanager:list-environment-variables":{"id":"cloudmanager:list-environment-variables","description":"lists variables set on an environment","pluginName":"@adobe/aio-cli-plugin-cloudmanager","pluginType":"core","aliases":[],"flags":{"passphrase":{"name":"passphrase","type":"option","char":"r","description":"the passphrase for the private-key"},"programId":{"name":"programId","type":"option","char":"p","description":"the programId. if not specified, defaults to 'cloudmanager_programid' config value"}},"args":[{"name":"environmentId","description":"the environment id","required":true}]},"cloudmanager:list-environments":{"id":"cloudmanager:list-environments","description":"lists environments available in a Cloud Manager program","pluginName":"@adobe/aio-cli-plugin-cloudmanager","pluginType":"core","aliases":[],"flags":{"passphrase":{"name":"passphrase","type":"option","char":"r","description":"the passphrase for the private-key"},"programId":{"name":"programId","type":"option","char":"p","description":"the programId. if not specified, defaults to 'cloudmanager_programid' config value"}},"args":[]},"cloudmanager:list-pipelines":{"id":"cloudmanager:list-pipelines","description":"lists pipelines available in a Cloud Manager program","pluginName":"@adobe/aio-cli-plugin-cloudmanager","pluginType":"core","aliases":[],"flags":{"passphrase":{"name":"passphrase","type":"option","char":"r","description":"the passphrase for the private-key"},"programId":{"name":"programId","type":"option","char":"p","description":"the programId. if not specified, defaults to 'cloudmanager_programid' config value"}},"args":[]},"cloudmanager:list-programs":{"id":"cloudmanager:list-programs","description":"lists programs available in Cloud Manager","pluginName":"@adobe/aio-cli-plugin-cloudmanager","pluginType":"core","aliases":[],"flags":{"passphrase":{"name":"passphrase","type":"option","char":"r","description":"the passphrase for the private-key"},"enabledonly":{"name":"enabledonly","type":"boolean","char":"e","description":"only output Cloud Manager-enabled programs","allowNo":false}},"args":[]},"cloudmanager:open-developer-console":{"id":"cloudmanager:open-developer-console","description":"opens the Developer Console, if available, in a browser","pluginName":"@adobe/aio-cli-plugin-cloudmanager","pluginType":"core","aliases":[],"flags":{"passphrase":{"name":"passphrase","type":"option","char":"r","description":"the passphrase for the private-key"},"programId":{"name":"programId","type":"option","char":"p","description":"the programId. if not specified, defaults to 'cloudmanager_programid' config value"}},"args":[{"name":"environmentId","description":"the environment id","required":true}]},"cloudmanager:set-environment-variables":{"id":"cloudmanager:set-environment-variables","description":"sets variables set on an environment","pluginName":"@adobe/aio-cli-plugin-cloudmanager","pluginType":"core","aliases":[],"flags":{"passphrase":{"name":"passphrase","type":"option","char":"r","description":"the passphrase for the private-key"},"programId":{"name":"programId","type":"option","char":"p","description":"the programId. if not specified, defaults to 'cloudmanager_programid' config value"},"variable":{"name":"variable","type":"option","char":"v","description":"variable values in KEY VALUE format"},"secret":{"name":"secret","type":"option","char":"s","description":"secret values in KEY VALUE format"},"delete":{"name":"delete","type":"option","char":"d","description":"variables/secrets to delete"}},"args":[{"name":"environmentId","description":"the environment id","required":true}]},"cloudmanager:start-execution":{"id":"cloudmanager:start-execution","description":"start pipeline execution","pluginName":"@adobe/aio-cli-plugin-cloudmanager","pluginType":"core","aliases":[],"flags":{"passphrase":{"name":"passphrase","type":"option","char":"r","description":"the passphrase for the private-key"},"programId":{"name":"programId","type":"option","char":"p","description":"the programId. if not specified, defaults to 'cloudmanager_programid' config value"}},"args":[{"name":"pipelineId","description":"the pipeline id","required":true}]},"cloudmanager:tail-log":{"id":"cloudmanager:tail-log","description":"lists available logs for an environment in a Cloud Manager program","pluginName":"@adobe/aio-cli-plugin-cloudmanager","pluginType":"core","aliases":["cloudmanager:tail-logs"],"flags":{"passphrase":{"name":"passphrase","type":"option","char":"r","description":"the passphrase for the private-key"},"programId":{"name":"programId","type":"option","char":"p","description":"the programId. if not specified, defaults to 'cloudmanager_programid' config value"}},"args":[{"name":"environmentId","description":"the environment id","required":true},{"name":"service","description":"the service","required":true},{"name":"name","description":"the log name","required":true}]},"cloudmanager:update-pipeline":{"id":"cloudmanager:update-pipeline","description":"update pipeline","pluginName":"@adobe/aio-cli-plugin-cloudmanager","pluginType":"core","aliases":[],"flags":{"passphrase":{"name":"passphrase","type":"option","char":"r","description":"the passphrase for the private-key"},"programId":{"name":"programId","type":"option","char":"p","description":"the programId. if not specified, defaults to 'cloudmanager_programid' config value"},"branch":{"name":"branch","type":"option","description":"the new branch"},"tag":{"name":"tag","type":"option","description":"the new tag"},"repositoryId":{"name":"repositoryId","type":"option","description":"the new repositoryId"}},"args":[{"name":"pipelineId","description":"the pipeline id","required":true}]}}}
{
"name": "@adobe/aio-cli-plugin-cloudmanager",
"description": "Cloud Manager commands for the Adobe I/O CLI",
"version": "0.8.0",
"version": "0.9.0",
"author": "Adobe Inc.",

@@ -6,0 +6,0 @@ "bugs": "https://github.com/adobe/aio-cli-plugin-cloudmanager/issues",

@@ -95,2 +95,3 @@ <!--

* [`aio cloudmanager:delete-pipeline PIPELINEID`](#aio-cloudmanagerdelete-pipeline-pipelineid)
* [`aio cloudmanager:delete-program PROGRAMID`](#aio-cloudmanagerdelete-program-programid)
* [`aio cloudmanager:download-logs ENVIRONMENTID SERVICE NAME [DAYS]`](#aio-cloudmanagerdownload-logs-environmentid-service-name-days)

@@ -161,3 +162,3 @@ * [`aio cloudmanager:get-current-execution PIPELINEID`](#aio-cloudmanagerget-current-execution-pipelineid)

_See code: [src/commands/cloudmanager/index.js](https://github.com/adobe/aio-cli-plugin-cloudmanager/blob/0.8.0/src/commands/cloudmanager/index.js)_
_See code: [src/commands/cloudmanager/index.js](https://github.com/adobe/aio-cli-plugin-cloudmanager/blob/0.9.0/src/commands/cloudmanager/index.js)_

@@ -180,3 +181,3 @@ ## `aio cloudmanager:advance-current-execution PIPELINEID`

_See code: [src/commands/cloudmanager/advance-current-execution.js](https://github.com/adobe/aio-cli-plugin-cloudmanager/blob/0.8.0/src/commands/cloudmanager/advance-current-execution.js)_
_See code: [src/commands/cloudmanager/advance-current-execution.js](https://github.com/adobe/aio-cli-plugin-cloudmanager/blob/0.9.0/src/commands/cloudmanager/advance-current-execution.js)_

@@ -199,3 +200,3 @@ ## `aio cloudmanager:cancel-current-execution PIPELINEID`

_See code: [src/commands/cloudmanager/cancel-current-execution.js](https://github.com/adobe/aio-cli-plugin-cloudmanager/blob/0.8.0/src/commands/cloudmanager/cancel-current-execution.js)_
_See code: [src/commands/cloudmanager/cancel-current-execution.js](https://github.com/adobe/aio-cli-plugin-cloudmanager/blob/0.9.0/src/commands/cloudmanager/cancel-current-execution.js)_

@@ -218,4 +219,21 @@ ## `aio cloudmanager:delete-pipeline PIPELINEID`

_See code: [src/commands/cloudmanager/delete-pipeline.js](https://github.com/adobe/aio-cli-plugin-cloudmanager/blob/0.8.0/src/commands/cloudmanager/delete-pipeline.js)_
_See code: [src/commands/cloudmanager/delete-pipeline.js](https://github.com/adobe/aio-cli-plugin-cloudmanager/blob/0.9.0/src/commands/cloudmanager/delete-pipeline.js)_
## `aio cloudmanager:delete-program PROGRAMID`
delete program
```
USAGE
$ aio cloudmanager:delete-program PROGRAMID
ARGUMENTS
PROGRAMID the program id
OPTIONS
-r, --passphrase=passphrase the passphrase for the private-key
```
_See code: [src/commands/cloudmanager/delete-program.js](https://github.com/adobe/aio-cli-plugin-cloudmanager/blob/0.9.0/src/commands/cloudmanager/delete-program.js)_
## `aio cloudmanager:download-logs ENVIRONMENTID SERVICE NAME [DAYS]`

@@ -244,3 +262,3 @@

_See code: [src/commands/cloudmanager/download-logs.js](https://github.com/adobe/aio-cli-plugin-cloudmanager/blob/0.8.0/src/commands/cloudmanager/download-logs.js)_
_See code: [src/commands/cloudmanager/download-logs.js](https://github.com/adobe/aio-cli-plugin-cloudmanager/blob/0.9.0/src/commands/cloudmanager/download-logs.js)_

@@ -263,3 +281,3 @@ ## `aio cloudmanager:get-current-execution PIPELINEID`

_See code: [src/commands/cloudmanager/get-current-execution.js](https://github.com/adobe/aio-cli-plugin-cloudmanager/blob/0.8.0/src/commands/cloudmanager/get-current-execution.js)_
_See code: [src/commands/cloudmanager/get-current-execution.js](https://github.com/adobe/aio-cli-plugin-cloudmanager/blob/0.9.0/src/commands/cloudmanager/get-current-execution.js)_

@@ -283,3 +301,3 @@ ## `aio cloudmanager:get-execution-step-details PIPELINEID EXECUTIONID`

_See code: [src/commands/cloudmanager/get-execution-step-details.js](https://github.com/adobe/aio-cli-plugin-cloudmanager/blob/0.8.0/src/commands/cloudmanager/get-execution-step-details.js)_
_See code: [src/commands/cloudmanager/get-execution-step-details.js](https://github.com/adobe/aio-cli-plugin-cloudmanager/blob/0.9.0/src/commands/cloudmanager/get-execution-step-details.js)_

@@ -310,3 +328,3 @@ ## `aio cloudmanager:get-execution-step-log PIPELINEID EXECUTIONID ACTION`

_See code: [src/commands/cloudmanager/get-execution-step-log.js](https://github.com/adobe/aio-cli-plugin-cloudmanager/blob/0.8.0/src/commands/cloudmanager/get-execution-step-log.js)_
_See code: [src/commands/cloudmanager/get-execution-step-log.js](https://github.com/adobe/aio-cli-plugin-cloudmanager/blob/0.9.0/src/commands/cloudmanager/get-execution-step-log.js)_

@@ -331,3 +349,3 @@ ## `aio cloudmanager:get-quality-gate-results PIPELINEID EXECUTIONID ACTION`

_See code: [src/commands/cloudmanager/get-quality-gate-results.js](https://github.com/adobe/aio-cli-plugin-cloudmanager/blob/0.8.0/src/commands/cloudmanager/get-quality-gate-results.js)_
_See code: [src/commands/cloudmanager/get-quality-gate-results.js](https://github.com/adobe/aio-cli-plugin-cloudmanager/blob/0.9.0/src/commands/cloudmanager/get-quality-gate-results.js)_

@@ -350,3 +368,3 @@ ## `aio cloudmanager:list-available-log-options ENVIRONMENTID`

_See code: [src/commands/cloudmanager/list-available-log-options.js](https://github.com/adobe/aio-cli-plugin-cloudmanager/blob/0.8.0/src/commands/cloudmanager/list-available-log-options.js)_
_See code: [src/commands/cloudmanager/list-available-log-options.js](https://github.com/adobe/aio-cli-plugin-cloudmanager/blob/0.9.0/src/commands/cloudmanager/list-available-log-options.js)_

@@ -366,3 +384,3 @@ ## `aio cloudmanager:list-current-executions`

_See code: [src/commands/cloudmanager/list-current-executions.js](https://github.com/adobe/aio-cli-plugin-cloudmanager/blob/0.8.0/src/commands/cloudmanager/list-current-executions.js)_
_See code: [src/commands/cloudmanager/list-current-executions.js](https://github.com/adobe/aio-cli-plugin-cloudmanager/blob/0.9.0/src/commands/cloudmanager/list-current-executions.js)_

@@ -385,3 +403,3 @@ ## `aio cloudmanager:list-environment-variables ENVIRONMENTID`

_See code: [src/commands/cloudmanager/list-environment-variables.js](https://github.com/adobe/aio-cli-plugin-cloudmanager/blob/0.8.0/src/commands/cloudmanager/list-environment-variables.js)_
_See code: [src/commands/cloudmanager/list-environment-variables.js](https://github.com/adobe/aio-cli-plugin-cloudmanager/blob/0.9.0/src/commands/cloudmanager/list-environment-variables.js)_

@@ -401,3 +419,3 @@ ## `aio cloudmanager:list-environments`

_See code: [src/commands/cloudmanager/list-environments.js](https://github.com/adobe/aio-cli-plugin-cloudmanager/blob/0.8.0/src/commands/cloudmanager/list-environments.js)_
_See code: [src/commands/cloudmanager/list-environments.js](https://github.com/adobe/aio-cli-plugin-cloudmanager/blob/0.9.0/src/commands/cloudmanager/list-environments.js)_

@@ -417,3 +435,3 @@ ## `aio cloudmanager:list-pipelines`

_See code: [src/commands/cloudmanager/list-pipelines.js](https://github.com/adobe/aio-cli-plugin-cloudmanager/blob/0.8.0/src/commands/cloudmanager/list-pipelines.js)_
_See code: [src/commands/cloudmanager/list-pipelines.js](https://github.com/adobe/aio-cli-plugin-cloudmanager/blob/0.9.0/src/commands/cloudmanager/list-pipelines.js)_

@@ -433,3 +451,3 @@ ## `aio cloudmanager:list-programs`

_See code: [src/commands/cloudmanager/list-programs.js](https://github.com/adobe/aio-cli-plugin-cloudmanager/blob/0.8.0/src/commands/cloudmanager/list-programs.js)_
_See code: [src/commands/cloudmanager/list-programs.js](https://github.com/adobe/aio-cli-plugin-cloudmanager/blob/0.9.0/src/commands/cloudmanager/list-programs.js)_

@@ -452,3 +470,3 @@ ## `aio cloudmanager:open-developer-console ENVIRONMENTID`

_See code: [src/commands/cloudmanager/open-developer-console.js](https://github.com/adobe/aio-cli-plugin-cloudmanager/blob/0.8.0/src/commands/cloudmanager/open-developer-console.js)_
_See code: [src/commands/cloudmanager/open-developer-console.js](https://github.com/adobe/aio-cli-plugin-cloudmanager/blob/0.9.0/src/commands/cloudmanager/open-developer-console.js)_

@@ -474,3 +492,3 @@ ## `aio cloudmanager:set-environment-variables ENVIRONMENTID`

_See code: [src/commands/cloudmanager/set-environment-variables.js](https://github.com/adobe/aio-cli-plugin-cloudmanager/blob/0.8.0/src/commands/cloudmanager/set-environment-variables.js)_
_See code: [src/commands/cloudmanager/set-environment-variables.js](https://github.com/adobe/aio-cli-plugin-cloudmanager/blob/0.9.0/src/commands/cloudmanager/set-environment-variables.js)_

@@ -493,3 +511,3 @@ ## `aio cloudmanager:start-execution PIPELINEID`

_See code: [src/commands/cloudmanager/start-execution.js](https://github.com/adobe/aio-cli-plugin-cloudmanager/blob/0.8.0/src/commands/cloudmanager/start-execution.js)_
_See code: [src/commands/cloudmanager/start-execution.js](https://github.com/adobe/aio-cli-plugin-cloudmanager/blob/0.9.0/src/commands/cloudmanager/start-execution.js)_

@@ -517,3 +535,3 @@ ## `aio cloudmanager:tail-log ENVIRONMENTID SERVICE NAME`

_See code: [src/commands/cloudmanager/tail-log.js](https://github.com/adobe/aio-cli-plugin-cloudmanager/blob/0.8.0/src/commands/cloudmanager/tail-log.js)_
_See code: [src/commands/cloudmanager/tail-log.js](https://github.com/adobe/aio-cli-plugin-cloudmanager/blob/0.9.0/src/commands/cloudmanager/tail-log.js)_

@@ -539,3 +557,3 @@ ## `aio cloudmanager:update-pipeline PIPELINEID`

_See code: [src/commands/cloudmanager/update-pipeline.js](https://github.com/adobe/aio-cli-plugin-cloudmanager/blob/0.8.0/src/commands/cloudmanager/update-pipeline.js)_
_See code: [src/commands/cloudmanager/update-pipeline.js](https://github.com/adobe/aio-cli-plugin-cloudmanager/blob/0.9.0/src/commands/cloudmanager/update-pipeline.js)_
<!-- commandsstop -->

@@ -542,0 +560,0 @@

@@ -51,3 +51,3 @@ /*

debug(`fetch: ${url}`)
debug(`fetch: ${method} ${url}`)
return new Promise((resolve, reject) => {

@@ -645,4 +645,17 @@ fetch(url, options).then(res => {

}
async deleteProgram(programId) {
const programs = await this.listPrograms();
let program = programs.find(p => p.id === programId);
if (!program) {
throw new Error(`Cannot delete program. Program ${programId} does not exist.`)
}
return this.delete(program.link(rels.self).href, 'Cannot delete program').then(() => {
return {}
}, e => {
throw e
})
}
}
module.exports = Client

@@ -31,2 +31,3 @@ /*

const OpenDeveloperConsole = require('./commands/cloudmanager/open-developer-console')
const DeleteProgram = require('./commands/cloudmanager/delete-program')

@@ -51,3 +52,4 @@ module.exports = {

'update-pipeline': new UpdatePipeline().updatePipeline,
'open-developer-console': new OpenDeveloperConsole().getDeveloperConsoleUrl
'open-developer-console': new OpenDeveloperConsole().getDeveloperConsoleUrl,
'delete-program': new DeleteProgram().deleteProgram
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc