Last active
March 19, 2024 12:17
-
-
Save shazron/a8ca326b15a80b4f0e9d56ccdf42aa29 to your computer and use it in GitHub Desktop.
Deleting all actions in a Adobe Runtime namespace
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# install jq: https://jqlang.github.io/jq/ | |
# list all packages | |
aio rt package list --json | jq '.[] | .name' | |
# for each package name, delete the package recursively | |
aio rt package delete "MY_PACKAGE_1" --recursive |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
generate commands to delete all packages (and all actions inside them)
aio rt package list --json | jq -cr '.[] | "aio rt package delete \(.name) --recursive"'