I'm working on a CIAT test to automate the removal and (re)installation of app fwk packages, but I noticed that it's impossible to tell from afm-util whether the package removal is successful or not:
afm-util remove <id> returns the same return value (zero) and the same stdout (null) whether the app is actually present or not.
Here we can see that "dashboard" was removed.
However, if I try to remove it again, I get exactly the same return values:
Similarily, if I try to remove a dummy package which I know does not exist, it appears to be successfull also: