How to reset a particular app, before launching when launching multiple applications in appium script

How to reset a particular app, before launching when launching multiple applications in Appium script.

cap.setCapability(MobileCapabilityType.NO_RESET, true);
cap.setCapability(MobileCapabilityType.FULL_RESET, false);
The above capabilities doesn’t work as I am launching multiple apps in appium script.

You may need to use adb commands to reset other apps. I don’t think Appium provides this capability.