EC2 tab complete supports --clear/--reset
Move AWS prompt function to plugin
Fix error in factorising the reset function