@adobe/aio-cli-plugin-cloudmanager
Advanced tools
Comparing version 0.18.0 to 0.18.1
# Changelog | ||
## [0.18.1](https://github.com/adobe/aio-cli-plugin-cloudmanager/compare/0.18.0...0.18.1) (2020-11-18) | ||
### Bug Fixes | ||
* **help:** improve help output. fixes [#165](https://github.com/adobe/aio-cli-plugin-cloudmanager/issues/165) ([25ee085](https://github.com/adobe/aio-cli-plugin-cloudmanager/commit/25ee085b69dbad040d937f8f60a9c4aeedf8140f)) | ||
# [0.18.0](https://github.com/adobe/aio-cli-plugin-cloudmanager/compare/0.17.0...0.18.0) (2020-11-17) | ||
@@ -4,0 +11,0 @@ |
@@ -1,1 +0,1 @@ | ||
{"version":"0.18.0","commands":{"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:program:list-pipelines","$ aio cloudmanager:program:list-pipelines --programId=PROGRAM_ID","$ aio cloudmanager:pipeline:start-execution PIPELINE_ID","$ aio cloudmanager:pipeline:start-execution --programId=PROGRAM_ID PIPELINE_ID","$ aio cloudmanager:program:list-current-executions","$ aio cloudmanager:program:list-current-executions --programId=PROGRAM_ID","$ aio cloudmanager:pipeline:get-current-execution PIPELINE_ID","$ aio cloudmanager:pipeline:get-current-execution --programId=PROGRAM_ID PIPELINE_ID","$ aio cloudmanager:execution:get-quality-gate-results PIPELINE_ID [codeQuality|security|performance]","$ aio cloudmanager:execution:get-quality-gate-results --programId=PROGRAM_ID PIPELINE_ID [codeQuality|security|performance]","$ aio cloudmanager:execution:get-step-details PIPELINE_ID EXECUTION_ID","$ aio cloudmanager:execution:get-step-details --programId=PROGRAM_ID PIPELINE_ID EXECUTION_ID","$ aio cloudmanager:execution:get-step-log PIPELINE_ID","$ aio cloudmanager:execution:get-step-log --programId=PROGRAM_ID PIPELINE_ID [build|codeQuality|devDeploy|stageDeploy|prodDeploy]","$ aio cloudmanager:current-execution:cancel PIPELINE_ID","$ aio cloudmanager:current-execution:cancel --programId=PROGRAM_ID PIPELINE_ID","$ aio cloudmanager:current-execution:advance PIPELINE_ID","$ aio cloudmanager:current-execution:advance --programId=PROGRAM_ID PIPELINE_ID","$ aio cloudmanager:pipeline:delete PIPELINE_ID","$ aio cloudmanager:pipeline:delete --programId=PROGRAM_ID PIPELINE_ID","$ aio cloudmanager:pipeline:update PIPELINE_ID --branch=NEW_BRANCH","$ aio cloudmanager:pipeline:update --programId=PROGRAM_ID PIPELINE_ID --branch=NEW_BRANCH","$ aio cloudmanager:program:list-environments","$ aio cloudmanager:program:list-environments --programId=PROGRAM_ID","$ aio cloudmanager:environment:list-available-log-options ENVIRONMENT_ID","$ aio cloudmanager:environment:list-available-log-options --programId=PROGRAM_ID ENVIRONMENT_ID","$ aio cloudmanager:environment:download-logs ENVIRONMENT_ID SERVICE NAME","$ aio cloudmanager:environment:download-logs ENVIRONMENT_ID SERVICE NAME DAYS","$ aio cloudmanager:environment:download-logs --programId=PROGRAM_ID ENVIRONMENT_ID SERVICE NAME DAYS","$ aio cloudmanager:environment:tail-log ENVIRONMENT_ID SERVICE NAME","$ aio cloudmanager:environment: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-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"},"json":{"name":"json","type":"boolean","char":"j","description":"output in json format","allowNo":false},"yaml":{"name":"yaml","type":"boolean","char":"y","description":"output in yaml format","allowNo":false},"enabledonly":{"name":"enabledonly","type":"boolean","char":"e","description":"only output Cloud Manager-enabled programs","allowNo":false}},"args":[]},"cloudmanager:current-execution:advance":{"id":"cloudmanager:current-execution:advance","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":["cloudmanager:advance-current-execution"],"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:current-execution:cancel":{"id":"cloudmanager:current-execution:cancel","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":["cloudmanager:cancel-current-execution"],"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:current-execution:get":{"id":"cloudmanager:current-execution:get","description":"get pipeline execution","pluginName":"@adobe/aio-cli-plugin-cloudmanager","pluginType":"core","aliases":["cloudmanager:get-current-execution"],"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"},"json":{"name":"json","type":"boolean","char":"j","description":"output in json format","allowNo":false},"yaml":{"name":"yaml","type":"boolean","char":"y","description":"output in yaml format","allowNo":false}},"args":[{"name":"pipelineId","description":"the pipeline id","required":true}]},"cloudmanager:environment:delete":{"id":"cloudmanager:environment:delete","description":"delete environment","pluginName":"@adobe/aio-cli-plugin-cloudmanager","pluginType":"core","aliases":["cloudmanager:delete-environment"],"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:environment:download-logs":{"id":"cloudmanager:environment:download-logs","description":"downloads log files for the specified environment, service and log name for one or more days","pluginName":"@adobe/aio-cli-plugin-cloudmanager","pluginType":"core","aliases":["cloudmanager:download-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"},"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:environment:list-available-log-options":{"id":"cloudmanager:environment: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":["cloudmanager:list-available-log-options"],"flags":{"passphrase":{"name":"passphrase","type":"option","char":"r","description":"the passphrase for the private key"},"json":{"name":"json","type":"boolean","char":"j","description":"output in json format","allowNo":false},"yaml":{"name":"yaml","type":"boolean","char":"y","description":"output in yaml format","allowNo":false},"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:environment:list-variables":{"id":"cloudmanager:environment:list-variables","description":"lists variables set on an environment","pluginName":"@adobe/aio-cli-plugin-cloudmanager","pluginType":"core","aliases":["cloudmanager:list-environment-variables"],"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"},"json":{"name":"json","type":"boolean","char":"j","description":"output in json format","allowNo":false},"yaml":{"name":"yaml","type":"boolean","char":"y","description":"output in yaml format","allowNo":false}},"args":[{"name":"environmentId","description":"the environment id","required":true}]},"cloudmanager:environment:open-developer-console":{"id":"cloudmanager:environment:open-developer-console","description":"opens the Developer Console, if available, in a browser","pluginName":"@adobe/aio-cli-plugin-cloudmanager","pluginType":"core","aliases":["cloudmanager:open-developer-console"],"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:environment:set-variables":{"id":"cloudmanager:environment:set-variables","description":"sets variables set on an environment. These are runtime variables available to components running inside the runtime environment. Use set-pipeline-variables to set build-time variables on a pipeline.","pluginName":"@adobe/aio-cli-plugin-cloudmanager","pluginType":"core","aliases":["cloudmanager:set-environment-variables"],"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"},"jsonStdin":{"name":"jsonStdin","type":"boolean","description":"if set, read variables from a JSON array provided as standard input; variables set through --variable or --secret flag will take precedence","allowNo":false},"jsonFile":{"name":"jsonFile","type":"option","description":"if set, read variables from a JSON array provided as a file; variables set through --variable or --secret flag will take precedence"},"json":{"name":"json","type":"boolean","char":"j","description":"output in json format","allowNo":false},"yaml":{"name":"yaml","type":"boolean","char":"y","description":"output in yaml format","allowNo":false}},"args":[{"name":"environmentId","description":"the environment id","required":true}]},"cloudmanager:environment:tail-log":{"id":"cloudmanager:environment:tail-log","description":"outputs a stream of log data for the specified environment, service and log name","pluginName":"@adobe/aio-cli-plugin-cloudmanager","pluginType":"core","aliases":["cloudmanager:tail-logs","cloudmanager:tail-log"],"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:execution:get-quality-gate-results":{"id":"cloudmanager:execution:get-quality-gate-results","description":"get quality gate results","pluginName":"@adobe/aio-cli-plugin-cloudmanager","pluginType":"core","aliases":["cloudmanager:get-quality-gate-results"],"flags":{"passphrase":{"name":"passphrase","type":"option","char":"r","description":"the passphrase for the private key"},"json":{"name":"json","type":"boolean","char":"j","description":"output in json format","allowNo":false},"yaml":{"name":"yaml","type":"boolean","char":"y","description":"output in yaml format","allowNo":false},"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","contentAudit","experienceAudit"]}]},"cloudmanager:execution:get-step-details":{"id":"cloudmanager:execution:get-step-details","description":"get execution step details","pluginName":"@adobe/aio-cli-plugin-cloudmanager","pluginType":"core","aliases":["cloudmanager:get-execution-step-details"],"flags":{"passphrase":{"name":"passphrase","type":"option","char":"r","description":"the passphrase for the private key"},"json":{"name":"json","type":"boolean","char":"j","description":"output in json format","allowNo":false},"yaml":{"name":"yaml","type":"boolean","char":"y","description":"output in yaml format","allowNo":false},"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:execution:get-step-log":{"id":"cloudmanager:execution:get-step-log","description":"get step log","pluginName":"@adobe/aio-cli-plugin-cloudmanager","pluginType":"core","aliases":["cloudmanager:get-execution-step-log"],"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:pipeline:create-execution":{"id":"cloudmanager:pipeline:create-execution","description":"start pipeline execution","pluginName":"@adobe/aio-cli-plugin-cloudmanager","pluginType":"core","aliases":["cloudmanager:create-execution","cloudmanager:start-execution"],"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:pipeline:delete":{"id":"cloudmanager:pipeline:delete","description":"delete pipeline","pluginName":"@adobe/aio-cli-plugin-cloudmanager","pluginType":"core","aliases":["cloudmanager:delete-pipeline"],"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:pipeline:list-variables":{"id":"cloudmanager:pipeline:list-variables","description":"lists variables set on an pipeline","pluginName":"@adobe/aio-cli-plugin-cloudmanager","pluginType":"core","aliases":["cloudmanager:list-pipeline-variables"],"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"},"json":{"name":"json","type":"boolean","char":"j","description":"output in json format","allowNo":false},"yaml":{"name":"yaml","type":"boolean","char":"y","description":"output in yaml format","allowNo":false}},"args":[{"name":"pipelineId","description":"the pipeline id","required":true}]},"cloudmanager:pipeline:set-variables":{"id":"cloudmanager:pipeline:set-variables","description":"sets variables set on a pipeline. These are build-time variables available during the build process. Use set-environment-variables to set runtime variables on a environment.","pluginName":"@adobe/aio-cli-plugin-cloudmanager","pluginType":"core","aliases":["cloudmanager:set-pipeline-variables"],"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"},"jsonStdin":{"name":"jsonStdin","type":"boolean","description":"if set, read variables from a JSON array provided as standard input; variables set through --variable or --secret flag will take precedence","allowNo":false},"jsonFile":{"name":"jsonFile","type":"option","description":"if set, read variables from a JSON array provided as a file; variables set through --variable or --secret flag will take precedence"},"json":{"name":"json","type":"boolean","char":"j","description":"output in json format","allowNo":false},"yaml":{"name":"yaml","type":"boolean","char":"y","description":"output in yaml format","allowNo":false}},"args":[{"name":"pipelineId","description":"the pipeline id","required":true}]},"cloudmanager:pipeline:update":{"id":"cloudmanager:pipeline:update","description":"update pipeline","pluginName":"@adobe/aio-cli-plugin-cloudmanager","pluginType":"core","aliases":["cloudmanager:update-pipeline"],"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}]},"cloudmanager:program:delete":{"id":"cloudmanager:program:delete","description":"delete program","pluginName":"@adobe/aio-cli-plugin-cloudmanager","pluginType":"core","aliases":["cloudmanager:delete-program"],"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:program:list-current-executions":{"id":"cloudmanager:program:list-current-executions","description":"list running pipeline executions","pluginName":"@adobe/aio-cli-plugin-cloudmanager","pluginType":"core","aliases":["cloudmanager:list-current-executions"],"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"},"json":{"name":"json","type":"boolean","char":"j","description":"output in json format","allowNo":false},"yaml":{"name":"yaml","type":"boolean","char":"y","description":"output in yaml format","allowNo":false}},"args":[]},"cloudmanager:program:list-environments":{"id":"cloudmanager:program:list-environments","description":"lists environments available in a Cloud Manager program","pluginName":"@adobe/aio-cli-plugin-cloudmanager","pluginType":"core","aliases":["cloudmanager:list-environments"],"flags":{"passphrase":{"name":"passphrase","type":"option","char":"r","description":"the passphrase for the private key"},"json":{"name":"json","type":"boolean","char":"j","description":"output in json format","allowNo":false},"yaml":{"name":"yaml","type":"boolean","char":"y","description":"output in yaml format","allowNo":false},"programId":{"name":"programId","type":"option","char":"p","description":"the programId. if not specified, defaults to 'cloudmanager_programid' config value"}},"args":[]},"cloudmanager:program:list-pipelines":{"id":"cloudmanager:program:list-pipelines","description":"lists pipelines available in a Cloud Manager program","pluginName":"@adobe/aio-cli-plugin-cloudmanager","pluginType":"core","aliases":["cloudmanager:list-pipelines"],"flags":{"passphrase":{"name":"passphrase","type":"option","char":"r","description":"the passphrase for the private key"},"json":{"name":"json","type":"boolean","char":"j","description":"output in json format","allowNo":false},"yaml":{"name":"yaml","type":"boolean","char":"y","description":"output in yaml format","allowNo":false},"programId":{"name":"programId","type":"option","char":"p","description":"the programId. if not specified, defaults to 'cloudmanager_programid' config value"}},"args":[]}}} | ||
{"version":"0.18.1","commands":{"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"},"json":{"name":"json","type":"boolean","char":"j","description":"output in json format","allowNo":false},"yaml":{"name":"yaml","type":"boolean","char":"y","description":"output in yaml format","allowNo":false},"enabledonly":{"name":"enabledonly","type":"boolean","char":"e","description":"only output Cloud Manager-enabled programs","allowNo":false}},"args":[]},"cloudmanager:current-execution:advance":{"id":"cloudmanager:current-execution:advance","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":["cloudmanager:advance-current-execution"],"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:current-execution:cancel":{"id":"cloudmanager:current-execution:cancel","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":["cloudmanager:cancel-current-execution"],"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:current-execution:get":{"id":"cloudmanager:current-execution:get","description":"get pipeline execution","pluginName":"@adobe/aio-cli-plugin-cloudmanager","pluginType":"core","aliases":["cloudmanager:get-current-execution"],"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"},"json":{"name":"json","type":"boolean","char":"j","description":"output in json format","allowNo":false},"yaml":{"name":"yaml","type":"boolean","char":"y","description":"output in yaml format","allowNo":false}},"args":[{"name":"pipelineId","description":"the pipeline id","required":true}]},"cloudmanager:environment:delete":{"id":"cloudmanager:environment:delete","description":"delete environment","pluginName":"@adobe/aio-cli-plugin-cloudmanager","pluginType":"core","aliases":["cloudmanager:delete-environment"],"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:environment:download-logs":{"id":"cloudmanager:environment:download-logs","description":"downloads log files for the specified environment, service and log name for one or more days","pluginName":"@adobe/aio-cli-plugin-cloudmanager","pluginType":"core","aliases":["cloudmanager:download-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"},"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:environment:list-available-log-options":{"id":"cloudmanager:environment: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":["cloudmanager:list-available-log-options"],"flags":{"passphrase":{"name":"passphrase","type":"option","char":"r","description":"the passphrase for the private key"},"json":{"name":"json","type":"boolean","char":"j","description":"output in json format","allowNo":false},"yaml":{"name":"yaml","type":"boolean","char":"y","description":"output in yaml format","allowNo":false},"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:environment:list-variables":{"id":"cloudmanager:environment:list-variables","description":"lists variables set on an environment","pluginName":"@adobe/aio-cli-plugin-cloudmanager","pluginType":"core","aliases":["cloudmanager:list-environment-variables"],"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"},"json":{"name":"json","type":"boolean","char":"j","description":"output in json format","allowNo":false},"yaml":{"name":"yaml","type":"boolean","char":"y","description":"output in yaml format","allowNo":false}},"args":[{"name":"environmentId","description":"the environment id","required":true}]},"cloudmanager:environment:open-developer-console":{"id":"cloudmanager:environment:open-developer-console","description":"opens the Developer Console, if available, in a browser","pluginName":"@adobe/aio-cli-plugin-cloudmanager","pluginType":"core","aliases":["cloudmanager:open-developer-console"],"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:environment:set-variables":{"id":"cloudmanager:environment:set-variables","description":"sets variables set on an environment. These are runtime variables available to components running inside the runtime environment. Use set-pipeline-variables to set build-time variables on a pipeline.","pluginName":"@adobe/aio-cli-plugin-cloudmanager","pluginType":"core","aliases":["cloudmanager:set-environment-variables"],"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"},"jsonStdin":{"name":"jsonStdin","type":"boolean","description":"if set, read variables from a JSON array provided as standard input; variables set through --variable or --secret flag will take precedence","allowNo":false},"jsonFile":{"name":"jsonFile","type":"option","description":"if set, read variables from a JSON array provided as a file; variables set through --variable or --secret flag will take precedence"},"json":{"name":"json","type":"boolean","char":"j","description":"output in json format","allowNo":false},"yaml":{"name":"yaml","type":"boolean","char":"y","description":"output in yaml format","allowNo":false}},"args":[{"name":"environmentId","description":"the environment id","required":true}]},"cloudmanager:environment:tail-log":{"id":"cloudmanager:environment:tail-log","description":"outputs a stream of log data for the specified environment, service and log name","pluginName":"@adobe/aio-cli-plugin-cloudmanager","pluginType":"core","aliases":["cloudmanager:tail-logs","cloudmanager:tail-log"],"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:execution:get-quality-gate-results":{"id":"cloudmanager:execution:get-quality-gate-results","description":"get quality gate results","pluginName":"@adobe/aio-cli-plugin-cloudmanager","pluginType":"core","aliases":["cloudmanager:get-quality-gate-results"],"flags":{"passphrase":{"name":"passphrase","type":"option","char":"r","description":"the passphrase for the private key"},"json":{"name":"json","type":"boolean","char":"j","description":"output in json format","allowNo":false},"yaml":{"name":"yaml","type":"boolean","char":"y","description":"output in yaml format","allowNo":false},"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","contentAudit","experienceAudit"]}]},"cloudmanager:execution:get-step-details":{"id":"cloudmanager:execution:get-step-details","description":"get execution step details","pluginName":"@adobe/aio-cli-plugin-cloudmanager","pluginType":"core","aliases":["cloudmanager:get-execution-step-details"],"flags":{"passphrase":{"name":"passphrase","type":"option","char":"r","description":"the passphrase for the private key"},"json":{"name":"json","type":"boolean","char":"j","description":"output in json format","allowNo":false},"yaml":{"name":"yaml","type":"boolean","char":"y","description":"output in yaml format","allowNo":false},"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:execution:get-step-log":{"id":"cloudmanager:execution:get-step-log","description":"get step log","pluginName":"@adobe/aio-cli-plugin-cloudmanager","pluginType":"core","aliases":["cloudmanager:get-execution-step-log"],"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:pipeline:create-execution":{"id":"cloudmanager:pipeline:create-execution","description":"start pipeline execution","pluginName":"@adobe/aio-cli-plugin-cloudmanager","pluginType":"core","aliases":["cloudmanager:create-execution","cloudmanager:start-execution"],"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:pipeline:delete":{"id":"cloudmanager:pipeline:delete","description":"delete pipeline","pluginName":"@adobe/aio-cli-plugin-cloudmanager","pluginType":"core","aliases":["cloudmanager:delete-pipeline"],"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:pipeline:list-variables":{"id":"cloudmanager:pipeline:list-variables","description":"lists variables set on an pipeline","pluginName":"@adobe/aio-cli-plugin-cloudmanager","pluginType":"core","aliases":["cloudmanager:list-pipeline-variables"],"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"},"json":{"name":"json","type":"boolean","char":"j","description":"output in json format","allowNo":false},"yaml":{"name":"yaml","type":"boolean","char":"y","description":"output in yaml format","allowNo":false}},"args":[{"name":"pipelineId","description":"the pipeline id","required":true}]},"cloudmanager:pipeline:set-variables":{"id":"cloudmanager:pipeline:set-variables","description":"sets variables set on a pipeline. These are build-time variables available during the build process. Use set-environment-variables to set runtime variables on a environment.","pluginName":"@adobe/aio-cli-plugin-cloudmanager","pluginType":"core","aliases":["cloudmanager:set-pipeline-variables"],"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"},"jsonStdin":{"name":"jsonStdin","type":"boolean","description":"if set, read variables from a JSON array provided as standard input; variables set through --variable or --secret flag will take precedence","allowNo":false},"jsonFile":{"name":"jsonFile","type":"option","description":"if set, read variables from a JSON array provided as a file; variables set through --variable or --secret flag will take precedence"},"json":{"name":"json","type":"boolean","char":"j","description":"output in json format","allowNo":false},"yaml":{"name":"yaml","type":"boolean","char":"y","description":"output in yaml format","allowNo":false}},"args":[{"name":"pipelineId","description":"the pipeline id","required":true}]},"cloudmanager:pipeline:update":{"id":"cloudmanager:pipeline:update","description":"update pipeline","pluginName":"@adobe/aio-cli-plugin-cloudmanager","pluginType":"core","aliases":["cloudmanager:update-pipeline"],"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}]},"cloudmanager:program:delete":{"id":"cloudmanager:program:delete","description":"delete program","pluginName":"@adobe/aio-cli-plugin-cloudmanager","pluginType":"core","aliases":["cloudmanager:delete-program"],"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:program:list-current-executions":{"id":"cloudmanager:program:list-current-executions","description":"list running pipeline executions","pluginName":"@adobe/aio-cli-plugin-cloudmanager","pluginType":"core","aliases":["cloudmanager:list-current-executions"],"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"},"json":{"name":"json","type":"boolean","char":"j","description":"output in json format","allowNo":false},"yaml":{"name":"yaml","type":"boolean","char":"y","description":"output in yaml format","allowNo":false}},"args":[]},"cloudmanager:program:list-environments":{"id":"cloudmanager:program:list-environments","description":"lists environments available in a Cloud Manager program","pluginName":"@adobe/aio-cli-plugin-cloudmanager","pluginType":"core","aliases":["cloudmanager:list-environments"],"flags":{"passphrase":{"name":"passphrase","type":"option","char":"r","description":"the passphrase for the private key"},"json":{"name":"json","type":"boolean","char":"j","description":"output in json format","allowNo":false},"yaml":{"name":"yaml","type":"boolean","char":"y","description":"output in yaml format","allowNo":false},"programId":{"name":"programId","type":"option","char":"p","description":"the programId. if not specified, defaults to 'cloudmanager_programid' config value"}},"args":[]},"cloudmanager:program:list-pipelines":{"id":"cloudmanager:program:list-pipelines","description":"lists pipelines available in a Cloud Manager program","pluginName":"@adobe/aio-cli-plugin-cloudmanager","pluginType":"core","aliases":["cloudmanager:list-pipelines"],"flags":{"passphrase":{"name":"passphrase","type":"option","char":"r","description":"the passphrase for the private key"},"json":{"name":"json","type":"boolean","char":"j","description":"output in json format","allowNo":false},"yaml":{"name":"yaml","type":"boolean","char":"y","description":"output in yaml format","allowNo":false},"programId":{"name":"programId","type":"option","char":"p","description":"the programId. if not specified, defaults to 'cloudmanager_programid' config value"}},"args":[]}}} |
{ | ||
"name": "@adobe/aio-cli-plugin-cloudmanager", | ||
"description": "Cloud Manager commands for the Adobe I/O CLI", | ||
"version": "0.18.0", | ||
"version": "0.18.1", | ||
"author": "Adobe Inc.", | ||
@@ -21,26 +21,26 @@ "bugs": "https://github.com/adobe/aio-cli-plugin-cloudmanager/issues", | ||
"devDependencies": { | ||
"@adobe/eslint-config-aio-lib-config": "^1.2.1", | ||
"@commitlint/cli": "^11.0.0", | ||
"@commitlint/config-conventional": "^11.0.0", | ||
"@oclif/dev-cli": "^1", | ||
"@semantic-release/changelog": "^5.0.1", | ||
"@semantic-release/git": "^9.0.0", | ||
"chalk": "^4.0.0", | ||
"codecov": "^3.7.0", | ||
"eslint": "^6.0.0", | ||
"eslint-config-standard": "^14.0.0", | ||
"eslint-plugin-import": "^2.13.10", | ||
"eslint-plugin-jest": "^23.0.2", | ||
"eslint-plugin-jsdoc": "^30.6.1", | ||
"eslint-plugin-node": "^11.0.0", | ||
"eslint-plugin-promise": "^4.0.0", | ||
"eslint-plugin-standard": "^4.0.0", | ||
"execa": "^4.0.2", | ||
"husky": "^4.3.0", | ||
"jest": "^24.1.0", | ||
"jest-extended": "^0.11.1", | ||
"jest-junit": "^10.0.0", | ||
"semantic-release": "^17.2.2", | ||
"stdout-stderr": "^0.1.9", | ||
"tmp": "^0.2.1" | ||
"@adobe/eslint-config-aio-lib-config": "1.2.1", | ||
"@commitlint/cli": "11.0.0", | ||
"@commitlint/config-conventional": "11.0.0", | ||
"@oclif/dev-cli": "1.23.1", | ||
"@semantic-release/changelog": "5.0.1", | ||
"@semantic-release/git": "9.0.0", | ||
"chalk": "4.1.0", | ||
"codecov": "3.8.1", | ||
"eslint": "7.13.0", | ||
"eslint-config-standard": "16.0.2", | ||
"eslint-plugin-import": "2.22.1", | ||
"eslint-plugin-jest": "24.1.3", | ||
"eslint-plugin-jsdoc": "30.7.8", | ||
"eslint-plugin-node": "11.1.0", | ||
"eslint-plugin-promise": "4.2.1", | ||
"eslint-plugin-standard": "4.1.0", | ||
"execa": "4.1.0", | ||
"husky": "4.3.0", | ||
"jest": "24.9.0", | ||
"jest-extended": "0.11.5", | ||
"jest-junit": "12.0.0", | ||
"semantic-release": "17.2.3", | ||
"stdout-stderr": "0.1.13", | ||
"tmp": "0.2.1" | ||
}, | ||
@@ -68,2 +68,22 @@ "engines": { | ||
"prerun": "./src/hooks/prerun/environment-id-from-config" | ||
}, | ||
"topics": { | ||
"cloudmanager": { | ||
"description": "interact with the Cloud Manager API to interact with programs, pipelines, and environments." | ||
}, | ||
"cloudmanager:current-execution": { | ||
"description": "commands to work with the current execution for a pipeline" | ||
}, | ||
"cloudmanager:execution": { | ||
"description": "commands to work with executions for a pipeline" | ||
}, | ||
"cloudmanager:environment": { | ||
"description": "commands to work with environments" | ||
}, | ||
"cloudmanager:pipeline": { | ||
"description": "commands to work with pipelines" | ||
}, | ||
"cloudmanager:program": { | ||
"description": "commands to work with programs" | ||
} | ||
} | ||
@@ -82,4 +102,2 @@ }, | ||
"unit-tests": "jest --ci", | ||
"update-release": "gren release --override", | ||
"update-changelog": "gren changelog -G --override && sed -i '' 's+# Changelog+---+' CHANGELOG.md && awk 'BEGIN{print\"\"}1' CHANGELOG.md > CHANGELOG-premerge.md && sed -n 'p' CHANGELOG-add.md CHANGELOG-premerge.md > CHANGELOG.md && rm CHANGELOG-add.md && rm CHANGELOG-premerge.md", | ||
"prepack": "oclif-dev manifest && oclif-dev readme", | ||
@@ -86,0 +104,0 @@ "postpack": "rm -f oclif.manifest.json", |
@@ -107,3 +107,2 @@ <!-- | ||
<!-- commands --> | ||
* [`aio cloudmanager`](#aio-cloudmanager) | ||
* [`aio cloudmanager:current-execution:advance PIPELINEID`](#aio-cloudmanagercurrent-executionadvance-pipelineid) | ||
@@ -133,53 +132,2 @@ * [`aio cloudmanager:current-execution:cancel PIPELINEID`](#aio-cloudmanagercurrent-executioncancel-pipelineid) | ||
## `aio cloudmanager` | ||
interact with the Cloud Manager API to list, start, cancel, and inspect pipelines and executions. | ||
``` | ||
USAGE | ||
$ aio cloudmanager | ||
OPTIONS | ||
-r, --passphrase=passphrase the passphrase for the private key | ||
EXAMPLES | ||
$ aio cloudmanager:list-programs | ||
$ aio cloudmanager:list-programs --enabledonly | ||
$ aio cloudmanager:program:list-pipelines | ||
$ aio cloudmanager:program:list-pipelines --programId=PROGRAM_ID | ||
$ aio cloudmanager:pipeline:start-execution PIPELINE_ID | ||
$ aio cloudmanager:pipeline:start-execution --programId=PROGRAM_ID PIPELINE_ID | ||
$ aio cloudmanager:program:list-current-executions | ||
$ aio cloudmanager:program:list-current-executions --programId=PROGRAM_ID | ||
$ aio cloudmanager:pipeline:get-current-execution PIPELINE_ID | ||
$ aio cloudmanager:pipeline:get-current-execution --programId=PROGRAM_ID PIPELINE_ID | ||
$ aio cloudmanager:execution:get-quality-gate-results PIPELINE_ID [codeQuality|security|performance] | ||
$ aio cloudmanager:execution:get-quality-gate-results --programId=PROGRAM_ID PIPELINE_ID | ||
[codeQuality|security|performance] | ||
$ aio cloudmanager:execution:get-step-details PIPELINE_ID EXECUTION_ID | ||
$ aio cloudmanager:execution:get-step-details --programId=PROGRAM_ID PIPELINE_ID EXECUTION_ID | ||
$ aio cloudmanager:execution:get-step-log PIPELINE_ID | ||
$ aio cloudmanager:execution:get-step-log --programId=PROGRAM_ID PIPELINE_ID | ||
[build|codeQuality|devDeploy|stageDeploy|prodDeploy] | ||
$ aio cloudmanager:current-execution:cancel PIPELINE_ID | ||
$ aio cloudmanager:current-execution:cancel --programId=PROGRAM_ID PIPELINE_ID | ||
$ aio cloudmanager:current-execution:advance PIPELINE_ID | ||
$ aio cloudmanager:current-execution:advance --programId=PROGRAM_ID PIPELINE_ID | ||
$ aio cloudmanager:pipeline:delete PIPELINE_ID | ||
$ aio cloudmanager:pipeline:delete --programId=PROGRAM_ID PIPELINE_ID | ||
$ aio cloudmanager:pipeline:update PIPELINE_ID --branch=NEW_BRANCH | ||
$ aio cloudmanager:pipeline:update --programId=PROGRAM_ID PIPELINE_ID --branch=NEW_BRANCH | ||
$ aio cloudmanager:program:list-environments | ||
$ aio cloudmanager:program:list-environments --programId=PROGRAM_ID | ||
$ aio cloudmanager:environment:list-available-log-options ENVIRONMENT_ID | ||
$ aio cloudmanager:environment:list-available-log-options --programId=PROGRAM_ID ENVIRONMENT_ID | ||
$ aio cloudmanager:environment:download-logs ENVIRONMENT_ID SERVICE NAME | ||
$ aio cloudmanager:environment:download-logs ENVIRONMENT_ID SERVICE NAME DAYS | ||
$ aio cloudmanager:environment:download-logs --programId=PROGRAM_ID ENVIRONMENT_ID SERVICE NAME DAYS | ||
$ aio cloudmanager:environment:tail-log ENVIRONMENT_ID SERVICE NAME | ||
$ aio cloudmanager:environment:tail-log --programId=PROGRAM_ID ENVIRONMENT_ID SERVICE NAME | ||
``` | ||
_See code: [src/commands/cloudmanager/index.js](https://github.com/adobe/aio-cli-plugin-cloudmanager/blob/0.18.0/src/commands/cloudmanager/index.js)_ | ||
## `aio cloudmanager:current-execution:advance PIPELINEID` | ||
@@ -204,3 +152,3 @@ | ||
_See code: [src/commands/cloudmanager/current-execution/advance.js](https://github.com/adobe/aio-cli-plugin-cloudmanager/blob/0.18.0/src/commands/cloudmanager/current-execution/advance.js)_ | ||
_See code: [src/commands/cloudmanager/current-execution/advance.js](https://github.com/adobe/aio-cli-plugin-cloudmanager/blob/0.18.1/src/commands/cloudmanager/current-execution/advance.js)_ | ||
@@ -226,3 +174,3 @@ ## `aio cloudmanager:current-execution:cancel PIPELINEID` | ||
_See code: [src/commands/cloudmanager/current-execution/cancel.js](https://github.com/adobe/aio-cli-plugin-cloudmanager/blob/0.18.0/src/commands/cloudmanager/current-execution/cancel.js)_ | ||
_See code: [src/commands/cloudmanager/current-execution/cancel.js](https://github.com/adobe/aio-cli-plugin-cloudmanager/blob/0.18.1/src/commands/cloudmanager/current-execution/cancel.js)_ | ||
@@ -250,3 +198,3 @@ ## `aio cloudmanager:current-execution:get PIPELINEID` | ||
_See code: [src/commands/cloudmanager/current-execution/get.js](https://github.com/adobe/aio-cli-plugin-cloudmanager/blob/0.18.0/src/commands/cloudmanager/current-execution/get.js)_ | ||
_See code: [src/commands/cloudmanager/current-execution/get.js](https://github.com/adobe/aio-cli-plugin-cloudmanager/blob/0.18.1/src/commands/cloudmanager/current-execution/get.js)_ | ||
@@ -272,3 +220,3 @@ ## `aio cloudmanager:environment:delete ENVIRONMENTID` | ||
_See code: [src/commands/cloudmanager/environment/delete.js](https://github.com/adobe/aio-cli-plugin-cloudmanager/blob/0.18.0/src/commands/cloudmanager/environment/delete.js)_ | ||
_See code: [src/commands/cloudmanager/environment/delete.js](https://github.com/adobe/aio-cli-plugin-cloudmanager/blob/0.18.1/src/commands/cloudmanager/environment/delete.js)_ | ||
@@ -301,3 +249,3 @@ ## `aio cloudmanager:environment:download-logs ENVIRONMENTID SERVICE NAME [DAYS]` | ||
_See code: [src/commands/cloudmanager/environment/download-logs.js](https://github.com/adobe/aio-cli-plugin-cloudmanager/blob/0.18.0/src/commands/cloudmanager/environment/download-logs.js)_ | ||
_See code: [src/commands/cloudmanager/environment/download-logs.js](https://github.com/adobe/aio-cli-plugin-cloudmanager/blob/0.18.1/src/commands/cloudmanager/environment/download-logs.js)_ | ||
@@ -325,3 +273,3 @@ ## `aio cloudmanager:environment:list-available-log-options ENVIRONMENTID` | ||
_See code: [src/commands/cloudmanager/environment/list-available-log-options.js](https://github.com/adobe/aio-cli-plugin-cloudmanager/blob/0.18.0/src/commands/cloudmanager/environment/list-available-log-options.js)_ | ||
_See code: [src/commands/cloudmanager/environment/list-available-log-options.js](https://github.com/adobe/aio-cli-plugin-cloudmanager/blob/0.18.1/src/commands/cloudmanager/environment/list-available-log-options.js)_ | ||
@@ -349,3 +297,3 @@ ## `aio cloudmanager:environment:list-variables ENVIRONMENTID` | ||
_See code: [src/commands/cloudmanager/environment/list-variables.js](https://github.com/adobe/aio-cli-plugin-cloudmanager/blob/0.18.0/src/commands/cloudmanager/environment/list-variables.js)_ | ||
_See code: [src/commands/cloudmanager/environment/list-variables.js](https://github.com/adobe/aio-cli-plugin-cloudmanager/blob/0.18.1/src/commands/cloudmanager/environment/list-variables.js)_ | ||
@@ -371,3 +319,3 @@ ## `aio cloudmanager:environment:open-developer-console ENVIRONMENTID` | ||
_See code: [src/commands/cloudmanager/environment/open-developer-console.js](https://github.com/adobe/aio-cli-plugin-cloudmanager/blob/0.18.0/src/commands/cloudmanager/environment/open-developer-console.js)_ | ||
_See code: [src/commands/cloudmanager/environment/open-developer-console.js](https://github.com/adobe/aio-cli-plugin-cloudmanager/blob/0.18.1/src/commands/cloudmanager/environment/open-developer-console.js)_ | ||
@@ -404,3 +352,3 @@ ## `aio cloudmanager:environment:set-variables ENVIRONMENTID` | ||
_See code: [src/commands/cloudmanager/environment/set-variables.js](https://github.com/adobe/aio-cli-plugin-cloudmanager/blob/0.18.0/src/commands/cloudmanager/environment/set-variables.js)_ | ||
_See code: [src/commands/cloudmanager/environment/set-variables.js](https://github.com/adobe/aio-cli-plugin-cloudmanager/blob/0.18.1/src/commands/cloudmanager/environment/set-variables.js)_ | ||
@@ -429,3 +377,3 @@ ## `aio cloudmanager:environment:tail-log ENVIRONMENTID SERVICE NAME` | ||
_See code: [src/commands/cloudmanager/environment/tail-log.js](https://github.com/adobe/aio-cli-plugin-cloudmanager/blob/0.18.0/src/commands/cloudmanager/environment/tail-log.js)_ | ||
_See code: [src/commands/cloudmanager/environment/tail-log.js](https://github.com/adobe/aio-cli-plugin-cloudmanager/blob/0.18.1/src/commands/cloudmanager/environment/tail-log.js)_ | ||
@@ -455,3 +403,3 @@ ## `aio cloudmanager:execution:get-quality-gate-results PIPELINEID EXECUTIONID ACTION` | ||
_See code: [src/commands/cloudmanager/execution/get-quality-gate-results.js](https://github.com/adobe/aio-cli-plugin-cloudmanager/blob/0.18.0/src/commands/cloudmanager/execution/get-quality-gate-results.js)_ | ||
_See code: [src/commands/cloudmanager/execution/get-quality-gate-results.js](https://github.com/adobe/aio-cli-plugin-cloudmanager/blob/0.18.1/src/commands/cloudmanager/execution/get-quality-gate-results.js)_ | ||
@@ -480,3 +428,3 @@ ## `aio cloudmanager:execution:get-step-details PIPELINEID EXECUTIONID` | ||
_See code: [src/commands/cloudmanager/execution/get-step-details.js](https://github.com/adobe/aio-cli-plugin-cloudmanager/blob/0.18.0/src/commands/cloudmanager/execution/get-step-details.js)_ | ||
_See code: [src/commands/cloudmanager/execution/get-step-details.js](https://github.com/adobe/aio-cli-plugin-cloudmanager/blob/0.18.1/src/commands/cloudmanager/execution/get-step-details.js)_ | ||
@@ -510,3 +458,3 @@ ## `aio cloudmanager:execution:get-step-log PIPELINEID EXECUTIONID ACTION` | ||
_See code: [src/commands/cloudmanager/execution/get-step-log.js](https://github.com/adobe/aio-cli-plugin-cloudmanager/blob/0.18.0/src/commands/cloudmanager/execution/get-step-log.js)_ | ||
_See code: [src/commands/cloudmanager/execution/get-step-log.js](https://github.com/adobe/aio-cli-plugin-cloudmanager/blob/0.18.1/src/commands/cloudmanager/execution/get-step-log.js)_ | ||
@@ -528,3 +476,3 @@ ## `aio cloudmanager:list-programs` | ||
_See code: [src/commands/cloudmanager/list-programs.js](https://github.com/adobe/aio-cli-plugin-cloudmanager/blob/0.18.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.18.1/src/commands/cloudmanager/list-programs.js)_ | ||
@@ -551,3 +499,3 @@ ## `aio cloudmanager:pipeline:create-execution PIPELINEID` | ||
_See code: [src/commands/cloudmanager/pipeline/create-execution.js](https://github.com/adobe/aio-cli-plugin-cloudmanager/blob/0.18.0/src/commands/cloudmanager/pipeline/create-execution.js)_ | ||
_See code: [src/commands/cloudmanager/pipeline/create-execution.js](https://github.com/adobe/aio-cli-plugin-cloudmanager/blob/0.18.1/src/commands/cloudmanager/pipeline/create-execution.js)_ | ||
@@ -573,3 +521,3 @@ ## `aio cloudmanager:pipeline:delete PIPELINEID` | ||
_See code: [src/commands/cloudmanager/pipeline/delete.js](https://github.com/adobe/aio-cli-plugin-cloudmanager/blob/0.18.0/src/commands/cloudmanager/pipeline/delete.js)_ | ||
_See code: [src/commands/cloudmanager/pipeline/delete.js](https://github.com/adobe/aio-cli-plugin-cloudmanager/blob/0.18.1/src/commands/cloudmanager/pipeline/delete.js)_ | ||
@@ -597,3 +545,3 @@ ## `aio cloudmanager:pipeline:list-variables PIPELINEID` | ||
_See code: [src/commands/cloudmanager/pipeline/list-variables.js](https://github.com/adobe/aio-cli-plugin-cloudmanager/blob/0.18.0/src/commands/cloudmanager/pipeline/list-variables.js)_ | ||
_See code: [src/commands/cloudmanager/pipeline/list-variables.js](https://github.com/adobe/aio-cli-plugin-cloudmanager/blob/0.18.1/src/commands/cloudmanager/pipeline/list-variables.js)_ | ||
@@ -630,3 +578,3 @@ ## `aio cloudmanager:pipeline:set-variables PIPELINEID` | ||
_See code: [src/commands/cloudmanager/pipeline/set-variables.js](https://github.com/adobe/aio-cli-plugin-cloudmanager/blob/0.18.0/src/commands/cloudmanager/pipeline/set-variables.js)_ | ||
_See code: [src/commands/cloudmanager/pipeline/set-variables.js](https://github.com/adobe/aio-cli-plugin-cloudmanager/blob/0.18.1/src/commands/cloudmanager/pipeline/set-variables.js)_ | ||
@@ -655,3 +603,3 @@ ## `aio cloudmanager:pipeline:update PIPELINEID` | ||
_See code: [src/commands/cloudmanager/pipeline/update.js](https://github.com/adobe/aio-cli-plugin-cloudmanager/blob/0.18.0/src/commands/cloudmanager/pipeline/update.js)_ | ||
_See code: [src/commands/cloudmanager/pipeline/update.js](https://github.com/adobe/aio-cli-plugin-cloudmanager/blob/0.18.1/src/commands/cloudmanager/pipeline/update.js)_ | ||
@@ -676,3 +624,3 @@ ## `aio cloudmanager:program:delete PROGRAMID` | ||
_See code: [src/commands/cloudmanager/program/delete.js](https://github.com/adobe/aio-cli-plugin-cloudmanager/blob/0.18.0/src/commands/cloudmanager/program/delete.js)_ | ||
_See code: [src/commands/cloudmanager/program/delete.js](https://github.com/adobe/aio-cli-plugin-cloudmanager/blob/0.18.1/src/commands/cloudmanager/program/delete.js)_ | ||
@@ -697,3 +645,3 @@ ## `aio cloudmanager:program:list-current-executions` | ||
_See code: [src/commands/cloudmanager/program/list-current-executions.js](https://github.com/adobe/aio-cli-plugin-cloudmanager/blob/0.18.0/src/commands/cloudmanager/program/list-current-executions.js)_ | ||
_See code: [src/commands/cloudmanager/program/list-current-executions.js](https://github.com/adobe/aio-cli-plugin-cloudmanager/blob/0.18.1/src/commands/cloudmanager/program/list-current-executions.js)_ | ||
@@ -718,3 +666,3 @@ ## `aio cloudmanager:program:list-environments` | ||
_See code: [src/commands/cloudmanager/program/list-environments.js](https://github.com/adobe/aio-cli-plugin-cloudmanager/blob/0.18.0/src/commands/cloudmanager/program/list-environments.js)_ | ||
_See code: [src/commands/cloudmanager/program/list-environments.js](https://github.com/adobe/aio-cli-plugin-cloudmanager/blob/0.18.1/src/commands/cloudmanager/program/list-environments.js)_ | ||
@@ -739,3 +687,3 @@ ## `aio cloudmanager:program:list-pipelines` | ||
_See code: [src/commands/cloudmanager/program/list-pipelines.js](https://github.com/adobe/aio-cli-plugin-cloudmanager/blob/0.18.0/src/commands/cloudmanager/program/list-pipelines.js)_ | ||
_See code: [src/commands/cloudmanager/program/list-pipelines.js](https://github.com/adobe/aio-cli-plugin-cloudmanager/blob/0.18.1/src/commands/cloudmanager/program/list-pipelines.js)_ | ||
<!-- commandsstop --> | ||
@@ -742,0 +690,0 @@ |
@@ -23,18 +23,18 @@ /* | ||
pipelineId: { | ||
header: 'Pipeline Id' | ||
header: 'Pipeline Id', | ||
}, | ||
id: { | ||
header: 'Execution Id' | ||
header: 'Execution Id', | ||
}, | ||
currentStep: { | ||
header: 'Current Step Action', | ||
get: item => getCurrentStep(item).action | ||
get: item => getCurrentStep(item).action, | ||
}, | ||
currentStepStatus: { | ||
header: 'Current Step Status', | ||
get: item => getCurrentStep(item).status | ||
} | ||
get: item => getCurrentStep(item).status, | ||
}, | ||
}, { | ||
printLine: this.log, | ||
output: getOutputFormat(flags) | ||
output: getOutputFormat(flags), | ||
}) | ||
@@ -45,5 +45,5 @@ } | ||
BaseExecutionCommand.flags = { | ||
...commonFlags.outputFormat | ||
...commonFlags.outputFormat, | ||
} | ||
module.exports = BaseExecutionCommand |
@@ -30,6 +30,6 @@ /* | ||
value: { | ||
get: (item) => item.type === 'secretString' ? '****' : item.value | ||
} | ||
get: (item) => item.type === 'secretString' ? '****' : item.value, | ||
}, | ||
}, { | ||
output: getOutputFormat(flags) | ||
output: getOutputFormat(flags), | ||
}) | ||
@@ -78,3 +78,3 @@ } | ||
value: parsedVariables[key], | ||
type: 'string' | ||
type: 'string', | ||
}) | ||
@@ -89,3 +89,3 @@ } | ||
value: parsedSecrets[key], | ||
type: 'secretString' | ||
type: 'secretString', | ||
}) | ||
@@ -100,3 +100,3 @@ } | ||
type: currentVariableTypes[key], | ||
value: '' | ||
value: '', | ||
}) | ||
@@ -151,3 +151,3 @@ } else { | ||
description: 'variable values in KEY VALUE format', | ||
multiple: true | ||
multiple: true, | ||
}), | ||
@@ -157,3 +157,3 @@ secret: flags.string({ | ||
description: 'secret values in KEY VALUE format', | ||
multiple: true | ||
multiple: true, | ||
}), | ||
@@ -163,19 +163,19 @@ delete: flags.string({ | ||
description: 'variables/secrets to delete', | ||
multiple: true | ||
multiple: true, | ||
}), | ||
jsonStdin: flags.boolean({ | ||
default: false, | ||
description: 'if set, read variables from a JSON array provided as standard input; variables set through --variable or --secret flag will take precedence' | ||
description: 'if set, read variables from a JSON array provided as standard input; variables set through --variable or --secret flag will take precedence', | ||
}), | ||
jsonFile: flags.string({ | ||
description: 'if set, read variables from a JSON array provided as a file; variables set through --variable or --secret flag will take precedence', | ||
exclusive: ['jsonStdin'] | ||
exclusive: ['jsonStdin'], | ||
}), | ||
...commonFlags.outputFormat | ||
...commonFlags.outputFormat, | ||
} | ||
BaseVariablesCommand.getterFlags = { | ||
...commonFlags.outputFormat | ||
...commonFlags.outputFormat, | ||
} | ||
module.exports = BaseVariablesCommand |
@@ -113,3 +113,3 @@ /* | ||
sanitizeEnvironmentId, | ||
getDefaultEnvironmentId | ||
getDefaultEnvironmentId, | ||
} |
@@ -60,13 +60,13 @@ /* | ||
...commonFlags.global, | ||
...commonFlags.programId | ||
...commonFlags.programId, | ||
} | ||
AdvanceCurrentExecutionCommand.args = [ | ||
{ name: 'pipelineId', required: true, description: 'the pipeline id' } | ||
{ name: 'pipelineId', required: true, description: 'the pipeline id' }, | ||
] | ||
AdvanceCurrentExecutionCommand.aliases = [ | ||
'cloudmanager:advance-current-execution' | ||
'cloudmanager:advance-current-execution', | ||
] | ||
module.exports = AdvanceCurrentExecutionCommand |
@@ -60,13 +60,13 @@ /* | ||
...commonFlags.global, | ||
...commonFlags.programId | ||
...commonFlags.programId, | ||
} | ||
CancelCurrentExecutionCommand.args = [ | ||
{ name: 'pipelineId', required: true, description: 'the pipeline id' } | ||
{ name: 'pipelineId', required: true, description: 'the pipeline id' }, | ||
] | ||
CancelCurrentExecutionCommand.aliases = [ | ||
'cloudmanager:cancel-current-execution' | ||
'cloudmanager:cancel-current-execution', | ||
] | ||
module.exports = CancelCurrentExecutionCommand |
@@ -57,13 +57,13 @@ /* | ||
...commonFlags.programId, | ||
...BaseExecutionCommand.flags | ||
...BaseExecutionCommand.flags, | ||
} | ||
GetCurrentExecutionCommand.args = [ | ||
{ name: 'pipelineId', required: true, description: 'the pipeline id' } | ||
{ name: 'pipelineId', required: true, description: 'the pipeline id' }, | ||
] | ||
GetCurrentExecutionCommand.aliases = [ | ||
'cloudmanager:get-current-execution' | ||
'cloudmanager:get-current-execution', | ||
] | ||
module.exports = GetCurrentExecutionCommand |
@@ -61,13 +61,13 @@ /* | ||
...commonFlags.global, | ||
...commonFlags.programId | ||
...commonFlags.programId, | ||
} | ||
DeleteEnvironmentCommand.args = [ | ||
{ name: 'environmentId', required: true, description: 'the environment id' } | ||
{ name: 'environmentId', required: true, description: 'the environment id' }, | ||
] | ||
DeleteEnvironmentCommand.aliases = [ | ||
'cloudmanager:delete-environment' | ||
'cloudmanager:delete-environment', | ||
] | ||
module.exports = DeleteEnvironmentCommand |
@@ -60,4 +60,4 @@ /* | ||
path: { | ||
get: row => path.resolve(row.path) | ||
} | ||
get: row => path.resolve(row.path), | ||
}, | ||
}) | ||
@@ -79,3 +79,3 @@ | ||
{ name: 'name', required: true, description: 'the log name' }, | ||
{ name: 'days', required: false, description: 'the number of days', default: '1' } | ||
{ name: 'days', required: false, description: 'the number of days', default: '1' }, | ||
] | ||
@@ -86,9 +86,9 @@ | ||
...commonFlags.programId, | ||
outputDirectory: flags.string({ char: 'o', description: 'the output directory. If not set, defaults to the current directory.' }) | ||
outputDirectory: flags.string({ char: 'o', description: 'the output directory. If not set, defaults to the current directory.' }), | ||
} | ||
DownloadLogs.aliases = [ | ||
'cloudmanager:download-logs' | ||
'cloudmanager:download-logs', | ||
] | ||
module.exports = DownloadLogs |
@@ -49,9 +49,9 @@ /* | ||
header: 'Environment Id', | ||
get: () => environmentId | ||
get: () => environmentId, | ||
}, | ||
service: {}, | ||
name: {} | ||
name: {}, | ||
}, { | ||
printLine: this.log, | ||
output: getOutputFormat(flags) | ||
output: getOutputFormat(flags), | ||
}) | ||
@@ -73,3 +73,3 @@ } else { | ||
ListAvailableLogOptionsCommand.args = [ | ||
{ name: 'environmentId', required: true, description: 'the environment id' } | ||
{ name: 'environmentId', required: true, description: 'the environment id' }, | ||
] | ||
@@ -80,9 +80,9 @@ | ||
...commonFlags.outputFormat, | ||
...commonFlags.programId | ||
...commonFlags.programId, | ||
} | ||
ListAvailableLogOptionsCommand.aliases = [ | ||
'cloudmanager:list-available-log-options' | ||
'cloudmanager:list-available-log-options', | ||
] | ||
module.exports = ListAvailableLogOptionsCommand |
@@ -40,3 +40,3 @@ /* | ||
ListEnvironmentVariablesCommand.args = [ | ||
{ name: 'environmentId', required: true, description: 'the environment id' } | ||
{ name: 'environmentId', required: true, description: 'the environment id' }, | ||
] | ||
@@ -47,9 +47,9 @@ | ||
...commonFlags.programId, | ||
...BaseVariablesCommand.getterFlags | ||
...BaseVariablesCommand.getterFlags, | ||
} | ||
ListEnvironmentVariablesCommand.aliases = [ | ||
'cloudmanager:list-environment-variables' | ||
'cloudmanager:list-environment-variables', | ||
] | ||
module.exports = ListEnvironmentVariablesCommand |
@@ -58,3 +58,3 @@ /* | ||
OpenDeveloperConsoleCommand.args = [ | ||
{ name: 'environmentId', required: true, description: 'the environment id' } | ||
{ name: 'environmentId', required: true, description: 'the environment id' }, | ||
] | ||
@@ -64,9 +64,9 @@ | ||
...commonFlags.global, | ||
...commonFlags.programId | ||
...commonFlags.programId, | ||
} | ||
OpenDeveloperConsoleCommand.aliases = [ | ||
'cloudmanager:open-developer-console' | ||
'cloudmanager:open-developer-console', | ||
] | ||
module.exports = OpenDeveloperConsoleCommand |
@@ -45,3 +45,3 @@ /* | ||
SetEnvironmentVariablesCommand.args = [ | ||
{ name: 'environmentId', required: true, description: 'the environment id' } | ||
{ name: 'environmentId', required: true, description: 'the environment id' }, | ||
] | ||
@@ -52,9 +52,9 @@ | ||
...commonFlags.programId, | ||
...BaseVariablesCommand.setterFlags | ||
...BaseVariablesCommand.setterFlags, | ||
} | ||
SetEnvironmentVariablesCommand.aliases = [ | ||
'cloudmanager:set-environment-variables' | ||
'cloudmanager:set-environment-variables', | ||
] | ||
module.exports = SetEnvironmentVariablesCommand |
@@ -59,3 +59,3 @@ /* | ||
{ name: 'service', required: true, description: 'the service' }, | ||
{ name: 'name', required: true, description: 'the log name' } | ||
{ name: 'name', required: true, description: 'the log name' }, | ||
] | ||
@@ -65,3 +65,3 @@ | ||
...commonFlags.global, | ||
...commonFlags.programId | ||
...commonFlags.programId, | ||
} | ||
@@ -68,0 +68,0 @@ |
@@ -68,21 +68,21 @@ /* | ||
header: 'Severity', | ||
get: item => _.upperFirst(item.severity) | ||
get: item => _.upperFirst(item.severity), | ||
}, | ||
kpi: { | ||
header: 'Metric', | ||
get: item => formatMetricName(item.kpi) | ||
get: item => formatMetricName(item.kpi), | ||
}, | ||
expectedValue: { | ||
header: 'Expected Value' | ||
header: 'Expected Value', | ||
}, | ||
actualValue: { | ||
header: 'Actual Value' | ||
header: 'Actual Value', | ||
}, | ||
passed: { | ||
header: 'Passed?', | ||
get: item => item.passed ? 'Yes' : 'No' | ||
} | ||
get: item => item.passed ? 'Yes' : 'No', | ||
}, | ||
}, { | ||
printLine: this.log, | ||
output: getOutputFormat(flags) | ||
output: getOutputFormat(flags), | ||
}) | ||
@@ -103,3 +103,3 @@ | ||
...commonFlags.outputFormat, | ||
...commonFlags.programId | ||
...commonFlags.programId, | ||
} | ||
@@ -119,11 +119,11 @@ | ||
'contentAudit', | ||
'experienceAudit' | ||
] | ||
} | ||
'experienceAudit', | ||
], | ||
}, | ||
] | ||
GetQualityGateResults.aliases = [ | ||
'cloudmanager:get-quality-gate-results' | ||
'cloudmanager:get-quality-gate-results', | ||
] | ||
module.exports = GetQualityGateResults |
@@ -78,23 +78,23 @@ /* | ||
header: 'Action', | ||
get: formatAction | ||
get: formatAction, | ||
}, | ||
status: { | ||
header: 'Status', | ||
get: (stepState) => _.startCase(stepState.status.toLowerCase()) | ||
get: (stepState) => _.startCase(stepState.status.toLowerCase()), | ||
}, | ||
startedAt: { | ||
header: 'Started At', | ||
get: formatTime('startedAt') | ||
get: formatTime('startedAt'), | ||
}, | ||
finishedAt: { | ||
header: 'Finished At', | ||
get: formatTime('finishedAt') | ||
get: formatTime('finishedAt'), | ||
}, | ||
duration: { | ||
header: 'Duration', | ||
get: formatDuration | ||
} | ||
get: formatDuration, | ||
}, | ||
}, { | ||
printLine: this.log, | ||
output: getOutputFormat(flags) | ||
output: getOutputFormat(flags), | ||
}) | ||
@@ -118,3 +118,3 @@ | ||
...commonFlags.outputFormat, | ||
...commonFlags.programId | ||
...commonFlags.programId, | ||
} | ||
@@ -124,9 +124,9 @@ | ||
{ name: 'pipelineId', required: true, description: 'the pipeline id' }, | ||
{ name: 'executionId', required: true, description: 'the execution id' } | ||
{ name: 'executionId', required: true, description: 'the execution id' }, | ||
] | ||
GetExecutionStepDetails.aliases = [ | ||
'cloudmanager:get-execution-step-details' | ||
'cloudmanager:get-execution-step-details', | ||
] | ||
module.exports = GetExecutionStepDetails |
@@ -68,3 +68,3 @@ /* | ||
output: flags.string({ char: 'o', description: 'the output file. If not set, uses standard output.' }), | ||
file: flags.string({ char: 'f', description: 'the alternative log file name. currently only `sonarLogFile` is available (for the codeQuality step)' }) | ||
file: flags.string({ char: 'f', description: 'the alternative log file name. currently only `sonarLogFile` is available (for the codeQuality step)' }), | ||
} | ||
@@ -85,11 +85,11 @@ | ||
'prodDeploy', | ||
'buildImage' | ||
] | ||
} | ||
'buildImage', | ||
], | ||
}, | ||
] | ||
GetExecutionStepLogs.aliases = [ | ||
'cloudmanager:get-execution-step-log' | ||
'cloudmanager:get-execution-step-log', | ||
] | ||
module.exports = GetExecutionStepLogs |
@@ -46,9 +46,9 @@ /* | ||
id: { | ||
header: 'Program Id' | ||
header: 'Program Id', | ||
}, | ||
name: {}, | ||
enabled: {} | ||
enabled: {}, | ||
}, { | ||
printLine: this.log, | ||
output: getOutputFormat(flags) | ||
output: getOutputFormat(flags), | ||
}) | ||
@@ -69,5 +69,5 @@ | ||
...commonFlags.outputFormat, | ||
enabledonly: flags.boolean({ char: 'e', description: 'only output Cloud Manager-enabled programs' }) | ||
enabledonly: flags.boolean({ char: 'e', description: 'only output Cloud Manager-enabled programs' }), | ||
} | ||
module.exports = ListProgramsCommand |
@@ -60,7 +60,7 @@ /* | ||
...commonFlags.global, | ||
...commonFlags.programId | ||
...commonFlags.programId, | ||
} | ||
StartExecutionCommand.args = [ | ||
{ name: 'pipelineId', required: true, description: 'the pipeline id' } | ||
{ name: 'pipelineId', required: true, description: 'the pipeline id' }, | ||
] | ||
@@ -67,0 +67,0 @@ |
@@ -59,13 +59,13 @@ /* | ||
...commonFlags.global, | ||
...commonFlags.programId | ||
...commonFlags.programId, | ||
} | ||
DeletePipelineCommand.args = [ | ||
{ name: 'pipelineId', required: true, description: 'the pipeline id' } | ||
{ name: 'pipelineId', required: true, description: 'the pipeline id' }, | ||
] | ||
DeletePipelineCommand.aliases = [ | ||
'cloudmanager:delete-pipeline' | ||
'cloudmanager:delete-pipeline', | ||
] | ||
module.exports = DeletePipelineCommand |
@@ -40,3 +40,3 @@ /* | ||
ListPipelineVariablesCommand.args = [ | ||
{ name: 'pipelineId', required: true, description: 'the pipeline id' } | ||
{ name: 'pipelineId', required: true, description: 'the pipeline id' }, | ||
] | ||
@@ -47,9 +47,9 @@ | ||
...commonFlags.programId, | ||
...BaseVariablesCommand.getterFlags | ||
...BaseVariablesCommand.getterFlags, | ||
} | ||
ListPipelineVariablesCommand.aliases = [ | ||
'cloudmanager:list-pipeline-variables' | ||
'cloudmanager:list-pipeline-variables', | ||
] | ||
module.exports = ListPipelineVariablesCommand |
@@ -44,3 +44,3 @@ /* | ||
SetPipelineVariablesCommand.args = [ | ||
{ name: 'pipelineId', required: true, description: 'the pipeline id' } | ||
{ name: 'pipelineId', required: true, description: 'the pipeline id' }, | ||
] | ||
@@ -51,9 +51,9 @@ | ||
...commonFlags.programId, | ||
...BaseVariablesCommand.setterFlags | ||
...BaseVariablesCommand.setterFlags, | ||
} | ||
SetPipelineVariablesCommand.aliases = [ | ||
'cloudmanager:set-pipeline-variables' | ||
'cloudmanager:set-pipeline-variables', | ||
] | ||
module.exports = SetPipelineVariablesCommand |
@@ -74,13 +74,13 @@ /* | ||
tag: flags.string({ description: 'the new tag' }), | ||
repositoryId: flags.string({ description: 'the new repositoryId' }) | ||
repositoryId: flags.string({ description: 'the new repositoryId' }), | ||
} | ||
UpdatePipelineCommand.args = [ | ||
{ name: 'pipelineId', required: true, description: 'the pipeline id' } | ||
{ name: 'pipelineId', required: true, description: 'the pipeline id' }, | ||
] | ||
UpdatePipelineCommand.aliases = [ | ||
'cloudmanager:update-pipeline' | ||
'cloudmanager:update-pipeline', | ||
] | ||
module.exports = UpdatePipelineCommand |
@@ -56,13 +56,13 @@ /* | ||
DeleteProgramCommand.flags = { | ||
...commonFlags.global | ||
...commonFlags.global, | ||
} | ||
DeleteProgramCommand.args = [ | ||
{ name: 'programId', required: true, description: 'the program id' } | ||
{ name: 'programId', required: true, description: 'the program id' }, | ||
] | ||
DeleteProgramCommand.aliases = [ | ||
'cloudmanager:delete-program' | ||
'cloudmanager:delete-program', | ||
] | ||
module.exports = DeleteProgramCommand |
@@ -26,3 +26,3 @@ /* | ||
const pipelines = await sdk.listPipelines(programId, { | ||
busy: true | ||
busy: true, | ||
}) | ||
@@ -61,9 +61,9 @@ return await Promise.all(pipelines.map(async pipeline => await sdk.getCurrentExecution(programId, pipeline.id))) | ||
...commonFlags.programId, | ||
...BaseExecutionCommand.flags | ||
...BaseExecutionCommand.flags, | ||
} | ||
ListCurrentExecutionsCommand.aliases = [ | ||
'cloudmanager:list-current-executions' | ||
'cloudmanager:list-current-executions', | ||
] | ||
module.exports = ListCurrentExecutionsCommand |
@@ -45,3 +45,3 @@ /* | ||
id: { | ||
header: 'Environment Id' | ||
header: 'Environment Id', | ||
}, | ||
@@ -52,7 +52,7 @@ name: {}, | ||
header: 'Description', | ||
get: item => item.description ? item.description : '' | ||
} | ||
get: item => item.description ? item.description : '', | ||
}, | ||
}, { | ||
printLine: this.log, | ||
output: getOutputFormat(flags) | ||
output: getOutputFormat(flags), | ||
}) | ||
@@ -73,9 +73,9 @@ | ||
...commonFlags.outputFormat, | ||
...commonFlags.programId | ||
...commonFlags.programId, | ||
} | ||
ListEnvironmentsCommand.aliases = [ | ||
'cloudmanager:list-environments' | ||
'cloudmanager:list-environments', | ||
] | ||
module.exports = ListEnvironmentsCommand |
@@ -45,9 +45,9 @@ /* | ||
id: { | ||
header: 'Pipeline Id' | ||
header: 'Pipeline Id', | ||
}, | ||
name: {}, | ||
status: {} | ||
status: {}, | ||
}, { | ||
printLine: this.log, | ||
output: getOutputFormat(flags) | ||
output: getOutputFormat(flags), | ||
}) | ||
@@ -68,9 +68,9 @@ | ||
...commonFlags.outputFormat, | ||
...commonFlags.programId | ||
...commonFlags.programId, | ||
} | ||
ListPipelinesCommand.aliases = [ | ||
'cloudmanager:list-pipelines' | ||
'cloudmanager:list-pipelines', | ||
] | ||
module.exports = ListPipelinesCommand |
@@ -16,11 +16,11 @@ /* | ||
global: { | ||
passphrase: flags.string({ char: 'r', description: 'the passphrase for the private key' }) | ||
passphrase: flags.string({ char: 'r', description: 'the passphrase for the private key' }), | ||
}, | ||
programId: { | ||
programId: flags.string({ char: 'p', description: "the programId. if not specified, defaults to 'cloudmanager_programid' config value" }) | ||
programId: flags.string({ char: 'p', description: "the programId. if not specified, defaults to 'cloudmanager_programid' config value" }), | ||
}, | ||
outputFormat: { | ||
json: flags.boolean({ char: 'j', description: 'output in json format', exclusive: ['yaml'] }), | ||
yaml: flags.boolean({ char: 'y', description: 'output in yaml format' }) | ||
} | ||
yaml: flags.boolean({ char: 'y', description: 'output in yaml format' }), | ||
}, | ||
} |
@@ -19,3 +19,2 @@ /* | ||
const GetQualityGateResults = require('./commands/cloudmanager/execution/get-quality-gate-results') | ||
const CloudManagerCommand = require('./commands/cloudmanager') | ||
const CancelCurrentExecution = require('./commands/cloudmanager/current-execution/cancel') | ||
@@ -40,3 +39,2 @@ const AdvanceCurrentExecution = require('./commands/cloudmanager/current-execution/advance') | ||
module.exports = { | ||
aaa: CloudManagerCommand, // needs to be first alphabetically | ||
'list-programs': new ListProgramsCommand().listPrograms, | ||
@@ -64,3 +62,3 @@ 'list-pipelines': new ListPipelinesCommand().listPipelines, | ||
'set-pipeline-variables': new SetPipelineVariables().setVariables, | ||
'delete-environment': new DeleteEnvironment().deleteEnvironment | ||
'delete-environment': new DeleteEnvironment().deleteEnvironment, | ||
} |
151097
36
1861
740