adobe / aio-cli-plugin-runtime

Adobe I/O Runtime plugin for the Adobe I/O CLI
https://www.adobe.io
Apache License 2.0
15 stars 31 forks source link

feat: recursive delete of a package #262

Closed florind-ens closed 2 years ago

florind-ens commented 2 years ago

Added support for non-empty packages deletion.

Description

Usage: aio runtime package delete packageName --recursive. Will delete the package named packageName, will delete actions, rules & triggers associated with the actions.

Related Issue

Closes #159

Motivation and Context

How Has This Been Tested?

unit tests. Steps:

Screenshots (if appropriate):

Types of changes

Checklist:

codecov[bot] commented 2 years ago

Codecov Report

Merging #262 (d44aa9d) into master (5e42bf2) will not change coverage. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff            @@
##            master      #262   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           65        65           
  Lines         1675      1698   +23     
  Branches       317       322    +5     
=========================================
+ Hits          1675      1698   +23     
Impacted Files Coverage Δ
src/commands/runtime/trigger/list.js 100.00% <ø> (ø)
src/commands/runtime/package/delete.js 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 5e42bf2...d44aa9d. Read the comment docs.

shazron commented 2 years ago

Tested, works well. Aside from the help text change, LGTM.